1
0
mirror of https://github.com/sasjs/adapter.git synced 2025-12-11 09:24:35 +00:00

fix(lint): used latest version of prettier

This commit is contained in:
Yury Shkoda
2021-03-09 10:21:52 +03:00
parent f10d6ec80a
commit 0f5702e21b
3 changed files with 13 additions and 6 deletions

View File

@@ -314,7 +314,9 @@ export class ContextManager {
contextId: string,
accessToken?: string
): Promise<ContextAllAttributes> {
const { result: context } = await this.requestClient
const {
result: context
} = await this.requestClient
.get<ContextAllAttributes>(
`${this.serverUrl}/compute/contexts/${contextId}`,
accessToken

View File

@@ -571,9 +571,9 @@ export class SASViyaApiClient {
}
}
const { result: createFolderResponse } = await this.requestClient.post<
Folder
>(
const {
result: createFolderResponse
} = await this.requestClient.post<Folder>(
`/folders/folders?parentFolderUri=${parentFolderUri}`,
{
name: folderName,
@@ -852,7 +852,9 @@ export class SASViyaApiClient {
throw new Error(`URI of job definition was not found.`)
}
const { result: jobDefinition } = await this.requestClient
const {
result: jobDefinition
} = await this.requestClient
.get<JobDefinition>(
`${this.serverUrl}${jobDefinitionLink.href}`,
accessToken

View File

@@ -91,7 +91,10 @@ export class SessionManager {
}
private async createAndWaitForSession(accessToken?: string) {
const { result: createdSession, etag } = await this.requestClient
const {
result: createdSession,
etag
} = await this.requestClient
.post<Session>(
`${this.serverUrl}/compute/contexts/${
this.currentContext!.id