Skip to content

Commit

Permalink
fix(cli): assign token to config PE-6632
Browse files Browse the repository at this point in the history
  • Loading branch information
fedellen committed Sep 11, 2024
1 parent aa2f077 commit 5a0e837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ export function configFromOptions(
let config: TurboUnauthenticatedConfiguration = {};

const token = tokenFromOptions(options);
config.token = token;

if (options.dev) {
config = developmentTurboConfiguration;
Expand All @@ -189,6 +188,7 @@ export function configFromOptions(
if (options.gateway !== undefined) {
config.gatewayUrl = options.gateway;
}
config.token = token;

return config;
}
Expand Down

0 comments on commit 5a0e837

Please sign in to comment.