From 2f2393c60a5df9d05753f0ed928a0978e51286a0 Mon Sep 17 00:00:00 2001 From: Yury Shkoda Date: Wed, 10 May 2023 16:44:05 +0300 Subject: [PATCH] fix(execution): bumped @sasjs/adapter --- package-lock.json | 14 +++++++------- package.json | 2 +- src/commands/execute-code/ExecuteCodeCommand.ts | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8e361f5..5150be9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "hasInstallScript": true, "dependencies": { - "@sasjs/adapter": "4.3.3", + "@sasjs/adapter": "4.3.5", "@sasjs/cli": "4.1.1", "@sasjs/lint": "2.3.1", "@sasjs/utils": "3.2.0", @@ -537,9 +537,9 @@ } }, "node_modules/@sasjs/adapter": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@sasjs/adapter/-/adapter-4.3.3.tgz", - "integrity": "sha512-WVaJA4uAGTehi2Duz9gIfVWpCZDTHuk7YL6qVtRj2cH0Gc6MqnGYVYW7awmEWO55t1Kmx2LqdJ16dSKpy/GnVw==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@sasjs/adapter/-/adapter-4.3.5.tgz", + "integrity": "sha512-ihVcmGQYPIZ3WTZOQd8xe/RDvtqK9lQmLx7hujmKeaN0RM/LsenYWIpM0nXKdw/2KruoghxMBNFLzpJUxJT4OA==", "hasInstallScript": true, "dependencies": { "@sasjs/utils": "2.52.0", @@ -11581,9 +11581,9 @@ } }, "@sasjs/adapter": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@sasjs/adapter/-/adapter-4.3.3.tgz", - "integrity": "sha512-WVaJA4uAGTehi2Duz9gIfVWpCZDTHuk7YL6qVtRj2cH0Gc6MqnGYVYW7awmEWO55t1Kmx2LqdJ16dSKpy/GnVw==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@sasjs/adapter/-/adapter-4.3.5.tgz", + "integrity": "sha512-ihVcmGQYPIZ3WTZOQd8xe/RDvtqK9lQmLx7hujmKeaN0RM/LsenYWIpM0nXKdw/2KruoghxMBNFLzpJUxJT4OA==", "requires": { "@sasjs/utils": "2.52.0", "axios": "0.27.2", diff --git a/package.json b/package.json index 2ede9a4..95dc7c2 100644 --- a/package.json +++ b/package.json @@ -250,7 +250,7 @@ "vscode-test": "^1.6.1" }, "dependencies": { - "@sasjs/adapter": "4.3.3", + "@sasjs/adapter": "4.3.5", "@sasjs/cli": "4.1.1", "@sasjs/lint": "2.3.1", "@sasjs/utils": "3.2.0", diff --git a/src/commands/execute-code/ExecuteCodeCommand.ts b/src/commands/execute-code/ExecuteCodeCommand.ts index 73bb27e..95fcf54 100644 --- a/src/commands/execute-code/ExecuteCodeCommand.ts +++ b/src/commands/execute-code/ExecuteCodeCommand.ts @@ -46,13 +46,13 @@ export class ExecuteCodeCommand extends TargetCommand { await executeCode(target, currentFileContent || '') .then(async (res) => { - process.outputChannel.appendLine('SASjs: Code executed successfully!') - if (typeof res.log === 'object') { res.log = JSON.stringify(res.log, null, 2) } await this.saveExecutionArtifacts({ ...res, code: editorContent }) + + process.outputChannel.appendLine('SASjs: Code executed successfully!') }) .catch(async (err) => { await handleErrorResponse(err, 'Error executing code')