Skip to content

Commit 16d4fb3

Browse files
committed
chore: formatting
1 parent b76670c commit 16d4fb3

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/utils/command-invocation.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ export function getWorkOSCommand(env: NodeJS.ProcessEnv = process.env): string {
99
const npmExecPath = env.npm_execpath ?? '';
1010
const npmUserAgent = env.npm_config_user_agent ?? '';
1111

12-
const launchedByNpmExec =
13-
npmCommand === 'exec' || npmExecPath.includes('npx-cli') || /\bnpx\//.test(npmUserAgent);
12+
const launchedByNpmExec = npmCommand === 'exec' || npmExecPath.includes('npx-cli') || /\bnpx\//.test(npmUserAgent);
1413

1514
return launchedByNpmExec ? 'npx workos@latest' : 'workos';
1615
}

0 commit comments

Comments
 (0)