Skip to content

Commit 5ca3b63

Browse files
committed
chore: wip
1 parent bb44857 commit 5ca3b63

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/launchpad/bin/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1175,7 +1175,7 @@ cli
11751175
dryrun: options?.dryRun || false,
11761176
quiet: options?.quiet || false,
11771177
shellOutput: options?.shell || false,
1178-
skipGlobal: process.env.NODE_ENV === 'test' || process.env.LAUNCHPAD_SKIP_GLOBAL_AUTO_SCAN === 'true', // Skip global packages in test environment or when explicitly disabled
1178+
skipGlobal: process.env.NODE_ENV === 'test' || process.env.LAUNCHPAD_SKIP_GLOBAL_AUTO_SCAN === 'true' || process.env.LAUNCHPAD_ENABLE_GLOBAL_AUTO_SCAN !== 'true', // Skip global packages by default unless explicitly enabled
11791179
})
11801180
}
11811181
catch (error) {

packages/launchpad/src/dev/dump.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ function cacheSniffResult(projectHash: string, sniffResult: any): void {
407407
}
408408

409409
export async function dump(dir: string, options: DumpOptions = {}): Promise<void> {
410-
const { dryrun = false, quiet = false, shellOutput = false, skipGlobal = process.env.NODE_ENV === 'test' || process.env.LAUNCHPAD_SKIP_GLOBAL_AUTO_SCAN === 'true' } = options
410+
const { dryrun = false, quiet = false, shellOutput = false, skipGlobal = process.env.NODE_ENV === 'test' || process.env.LAUNCHPAD_SKIP_GLOBAL_AUTO_SCAN === 'true' || process.env.LAUNCHPAD_ENABLE_GLOBAL_AUTO_SCAN !== 'true' } = options
411411

412412
try {
413413
// Find dependency file

0 commit comments

Comments
 (0)