mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-10 13:50:05 +00:00
Merge branch 'master' into cli-issue-105
This commit is contained in:
@@ -945,7 +945,10 @@ export class SASViyaApiClient {
|
|||||||
|
|
||||||
if (isRelativePath(sasJob)) {
|
if (isRelativePath(sasJob)) {
|
||||||
const folderName = sasJob.split('/')[0]
|
const folderName = sasJob.split('/')[0]
|
||||||
await this.populateFolderMap(`${this.rootFolderName}/${folderName}`)
|
await this.populateFolderMap(
|
||||||
|
`${this.rootFolderName}/${folderName}`,
|
||||||
|
accessToken
|
||||||
|
)
|
||||||
|
|
||||||
if (!this.folderMap.get(`${this.rootFolderName}/${folderName}`)) {
|
if (!this.folderMap.get(`${this.rootFolderName}/${folderName}`)) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
@@ -1042,7 +1045,10 @@ export class SASViyaApiClient {
|
|||||||
|
|
||||||
if (isRelativePath(sasJob)) {
|
if (isRelativePath(sasJob)) {
|
||||||
const folderName = sasJob.split('/')[0]
|
const folderName = sasJob.split('/')[0]
|
||||||
await this.populateFolderMap(`${this.rootFolderName}/${folderName}`)
|
await this.populateFolderMap(
|
||||||
|
`${this.rootFolderName}/${folderName}`,
|
||||||
|
accessToken
|
||||||
|
)
|
||||||
|
|
||||||
if (!this.folderMap.get(`${this.rootFolderName}/${folderName}`)) {
|
if (!this.folderMap.get(`${this.rootFolderName}/${folderName}`)) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
|
|||||||
Reference in New Issue
Block a user