diff --git a/packages/cli-common/src/hooks/init/load-plugins.ts b/packages/cli-common/src/hooks/init/load-plugins.ts index 598b2d18..59a1a5e2 100644 --- a/packages/cli-common/src/hooks/init/load-plugins.ts +++ b/packages/cli-common/src/hooks/init/load-plugins.ts @@ -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' diff --git a/packages/driver-azure/src/driver/index.ts b/packages/driver-azure/src/driver/index.ts index fd315980..f47ad073 100644 --- a/packages/driver-azure/src/driver/index.ts +++ b/packages/driver-azure/src/driver/index.ts @@ -131,6 +131,8 @@ export const inquireSubscriptionId = async (): Promise => { 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 })),