1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-12 06:40:06 +00:00

Merge pull request #134 from sasjs/executeComputeJob

fix(executeComputeJob): added fix for cases when code was not provided
This commit is contained in:
Yury Shkoda
2020-10-21 11:55:43 +03:00
committed by GitHub

View File

@@ -1032,6 +1032,8 @@ export class SASViyaApiClient {
jobToExecute.code = code
}
if (!code) code = ''
const linesToExecute = code.replace(/\r\n/g, '\n').split('\n')
return await this.executeScript(
sasJob,