From 1c0b30ffcee49323d05c98328f229d1272954e8c Mon Sep 17 00:00:00 2001 From: Aleksey Levenstein Date: Mon, 31 Jul 2023 09:23:02 +0300 Subject: [PATCH] chore: fix imports order (#1639) --- packages/web-api/src/WebClient.ts | 4 ++-- packages/web-api/src/file-upload.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/web-api/src/WebClient.ts b/packages/web-api/src/WebClient.ts index 924d9a927..0d5cd4b75 100644 --- a/packages/web-api/src/WebClient.ts +++ b/packages/web-api/src/WebClient.ts @@ -4,14 +4,14 @@ import { basename } from 'path'; import { Readable } from 'stream'; import { SecureContextOptions } from 'tls'; +import zlib from 'zlib'; +import { TextDecoder } from 'util'; import isStream from 'is-stream'; import PQueue from 'p-queue'; import pRetry, { AbortError } from 'p-retry'; import axios, { AxiosInstance, AxiosResponse } from 'axios'; import FormData from 'form-data'; import isElectron from 'is-electron'; -import zlib from 'zlib'; -import { TextDecoder } from 'util'; import { AdminAnalyticsMemberDetails, AdminAnalyticsPublicChannelDetails, diff --git a/packages/web-api/src/file-upload.ts b/packages/web-api/src/file-upload.ts index 252914d4b..560c81017 100644 --- a/packages/web-api/src/file-upload.ts +++ b/packages/web-api/src/file-upload.ts @@ -1,6 +1,6 @@ -import { Logger } from '@slack/logger'; import { readFileSync } from 'fs'; import { Readable } from 'stream'; +import { Logger } from '@slack/logger'; import { errorWithCode, ErrorCode } from './errors'; import { FilesCompleteUploadExternalArguments, FilesUploadV2Arguments, FileUploadV2, FileUploadV2Job } from './methods';