mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-21 15:31:13 -07:00
linting
This commit is contained in:
@@ -329,12 +329,11 @@ export class TestRig {
|
||||
command: string;
|
||||
initialArgs: string[];
|
||||
} {
|
||||
const isNpmReleaseTest =
|
||||
env['INTEGRATION_TEST_USE_INSTALLED_GEMINI'] === 'true';
|
||||
const command = isNpmReleaseTest ? 'gemini' : 'node';
|
||||
const initialArgs = isNpmReleaseTest
|
||||
? extraInitialArgs
|
||||
: [this.bundlePath, ...extraInitialArgs];
|
||||
const command = 'node';
|
||||
const initialArgs = [
|
||||
join(__dirname, '..', 'node_modules', '.bin', 'gemini'),
|
||||
...extraInitialArgs,
|
||||
];
|
||||
return { command, initialArgs };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user