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

fix(executeComputeJob): added fix for cases when code was not provided

This commit is contained in:
Yury Shkoda
2020-10-21 11:45:21 +03:00
parent 2b1df0c61a
commit 6a3a6b4485

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,