Skip to content

Commit

Permalink
fix: default auth strategy to none
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Oct 3, 2022
1 parent 304813d commit 6e029dc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/testSession.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,7 @@ export class TestSession extends AsyncOptionalCreatable<TestSessionOptions> {
);

const authStrategy =
!this.options.devhubAuthStrategy || this.options.devhubAuthStrategy === 'AUTO'
? getAuthStrategy()
: this.options.devhubAuthStrategy;
this.options.devhubAuthStrategy === 'AUTO' ? getAuthStrategy() : this.options.devhubAuthStrategy ?? 'NONE';

transferExistingAuthToEnv(authStrategy);

Expand Down

0 comments on commit 6e029dc

Please sign in to comment.