Skip to content

Commit

Permalink
Fix auth check (#837)
Browse files Browse the repository at this point in the history
  • Loading branch information
vcheung-stripe authored Nov 14, 2024
1 parent b4238e0 commit 85f290b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stripeClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export class StripeClient {
const projectName =
vscode.workspace.getConfiguration('stripe').get('projectName', null) || 'default';
try {
const {stdout} = await execa(await this.cliPath, ['config', '--list']);
const {stdout} = await execa(await this.cliPath, ['config', '--list', '--project-name', 'default']);
const data = toml.parse(stdout);

const hasConfigForProject = projectName in data;
Expand Down

0 comments on commit 85f290b

Please sign in to comment.