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

Merge branch 'master' of https://github.com/sasjs/adapter into sas-job-absolute-paths

This commit is contained in:
Krishna Acondy
2020-09-18 08:25:21 +01:00
46 changed files with 524 additions and 4147 deletions

View File

@@ -93,7 +93,7 @@ export class SessionManager {
if (!currentContext) {
throw new Error(
`The context ${this.contextName} was not found on the server ${this.serverUrl}`
`The context '${this.contextName}' was not found on the server ${this.serverUrl}.`
)
}
@@ -128,7 +128,7 @@ export class SessionManager {
if (sessionState === 'pending') {
if (stateLink) {
if (!silent) {
console.log('Polling session status... \n')
console.log('Polling session status... \n') // ?
}
const { result: state } = await this.request<string>(
`${this.serverUrl}${stateLink.href}?wait=30`,
@@ -140,7 +140,7 @@ export class SessionManager {
sessionState = state.trim()
if (!silent) {
console.log(`Current state: ${sessionState}\n`)
console.log(`Current state is '${sessionState}'\n`)
}
resolve(sessionState)
}