Skip to content

Commit

Permalink
Fix auth check
Browse files Browse the repository at this point in the history
  • Loading branch information
vcheung-stripe committed Nov 14, 2024
1 parent 95b0a35 commit ef5cd6a
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 ef5cd6a

Please sign in to comment.