We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b76670c commit 16d4fb3Copy full SHA for 16d4fb3
1 file changed
src/utils/command-invocation.ts
@@ -9,8 +9,7 @@ export function getWorkOSCommand(env: NodeJS.ProcessEnv = process.env): string {
9
const npmExecPath = env.npm_execpath ?? '';
10
const npmUserAgent = env.npm_config_user_agent ?? '';
11
12
- const launchedByNpmExec =
13
- npmCommand === 'exec' || npmExecPath.includes('npx-cli') || /\bnpx\//.test(npmUserAgent);
+ const launchedByNpmExec = npmCommand === 'exec' || npmExecPath.includes('npx-cli') || /\bnpx\//.test(npmUserAgent);
14
15
return launchedByNpmExec ? 'npx workos@latest' : 'workos';
16
}
0 commit comments