Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Roy Razon committed Mar 10, 2024
1 parent 73bea84 commit bb5bfd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/cli-common/src/hooks/init/load-plugins.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import path from 'path'
import { Hook as OclifHook, Command, Flags } from '@oclif/core'
import { Parser } from '@oclif/core/lib/parser/parse.js'
import { BooleanFlag, Config, Topic } from '@oclif/core/lib/interfaces'
Expand Down
2 changes: 2 additions & 0 deletions packages/driver-azure/src/driver/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ export const inquireSubscriptionId = async (): Promise<string> => {
const credential = new DefaultAzureCredential()
const subscriptionClient = new SubscriptionClient(credential)
const subscriptions = await asyncToArray(subscriptionClient.subscriptions.list()).catch(() => [])
// eslint false positive here on case-sensitive filesystems due to unknown type
// eslint-disable-next-line @typescript-eslint/return-await
return await prompts.selectOrSpecify({
message: 'Microsoft Azure Subscription ID',
choices: subscriptions.map(({ subscriptionId, displayName }) => ({ name: `${displayName} (${subscriptionId})`, value: subscriptionId as string })),
Expand Down

0 comments on commit bb5bfd5

Please sign in to comment.