mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-09 09:30:41 -07:00
fix(workspaces): finalize path portability and lint fixes
This commit is contained in:
@@ -6,11 +6,11 @@
|
||||
|
||||
import { GceCosProvider } from './GceCosProvider.ts';
|
||||
import type { WorkerProvider } from './BaseProvider.ts';
|
||||
import path from 'node:path';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
|
||||
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||
const REPO_ROOT = path.resolve(__dirname, '../../../../..');
|
||||
|
||||
|
||||
|
||||
const REPO_ROOT = process.cwd();
|
||||
|
||||
export class ProviderFactory {
|
||||
static getProvider(config: {
|
||||
|
||||
Reference in New Issue
Block a user