Skip to content

Commit

Permalink
fix: another attempt to suppress warning
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-jan committed Jul 4, 2024
1 parent 2bd053b commit 6b0a590
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cortex-js/src/command.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env node --no-warnings
#!/usr/bin/env node
import ora from 'ora';
const dependenciesSpinner = ora('Loading dependencies...').start();
const time = Date.now();
Expand All @@ -10,6 +10,8 @@ import { ContextService } from '@/infrastructure/services/context/context.servic

dependenciesSpinner.succeed('Dependencies loaded in ' + (Date.now() - time) + 'ms');

process.removeAllListeners('warning');

async function bootstrap() {
let telemetryUseCase: TelemetryUsecases | null = null;
let contextService: ContextService | null = null;
Expand Down

0 comments on commit 6b0a590

Please sign in to comment.