Skip to content

Commit

Permalink
fix(get): don't write debug output to stderr while getting data
Browse files Browse the repository at this point in the history
  • Loading branch information
reinierl committed Jan 15, 2023
1 parent 72192d6 commit 4efc07c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ocpi-tool",
"version": "0.0.2",
"version": "0.0.3",
"description": "A command-line tool for exporting data from OCPI platforms",
"main": "dist/index.js",
"scripts": {
Expand Down
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ import { get } from "./commands/get";
// stdout and see the progress messages written to stdout at the same time
console = new Console({ stdout: stderr, stderr });

// don't print debug output, normally speaking
console.debug = () => {};

const program = new Command();

program
Expand Down

0 comments on commit 4efc07c

Please sign in to comment.