From 0f5702e21ba6a6918c469f3b01cce4cf34149983 Mon Sep 17 00:00:00 2001 From: Yury Shkoda Date: Tue, 9 Mar 2021 10:21:52 +0300 Subject: [PATCH] fix(lint): used latest version of prettier --- src/ContextManager.ts | 4 +++- src/SASViyaApiClient.ts | 10 ++++++---- src/SessionManager.ts | 5 ++++- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/src/ContextManager.ts b/src/ContextManager.ts index eec0dff..3c15ff5 100644 --- a/src/ContextManager.ts +++ b/src/ContextManager.ts @@ -314,7 +314,9 @@ export class ContextManager { contextId: string, accessToken?: string ): Promise { - const { result: context } = await this.requestClient + const { + result: context + } = await this.requestClient .get( `${this.serverUrl}/compute/contexts/${contextId}`, accessToken diff --git a/src/SASViyaApiClient.ts b/src/SASViyaApiClient.ts index 19627be..1b5e497 100644 --- a/src/SASViyaApiClient.ts +++ b/src/SASViyaApiClient.ts @@ -571,9 +571,9 @@ export class SASViyaApiClient { } } - const { result: createFolderResponse } = await this.requestClient.post< - Folder - >( + const { + result: createFolderResponse + } = await this.requestClient.post( `/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( `${this.serverUrl}${jobDefinitionLink.href}`, accessToken diff --git a/src/SessionManager.ts b/src/SessionManager.ts index 2120471..3c780dd 100644 --- a/src/SessionManager.ts +++ b/src/SessionManager.ts @@ -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( `${this.serverUrl}/compute/contexts/${ this.currentContext!.id