Skip to content

Commit

Permalink
fix: ensure all debug logs are directed to stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
oana-andrisoaei-snyk committed Nov 18, 2024
1 parent 8c08342 commit a9b6116
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
const debug = require('debug')('snyk:module');
import * as gitHost from 'hosted-git-info';

debug.log = console.error.bind(console);

interface Package {
name: string;
version: string;
Expand Down

0 comments on commit a9b6116

Please sign in to comment.