Skip to content

Commit

Permalink
Merge pull request #410 from sasjs/execution-issue
Browse files Browse the repository at this point in the history
fix(execution): bumped @sasjs/adapter
  • Loading branch information
YuryShkoda authored May 10, 2023
2 parents 3da456e + 2f2393c commit ebda9ef
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/commands/execute-code/ExecuteCodeCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit ebda9ef

Please sign in to comment.