Skip to content

Commit

Permalink
feat: drop why-is-node-running for wtfnode
Browse files Browse the repository at this point in the history
  • Loading branch information
PopGoesTheWza committed Mar 18, 2021
1 parent 658487a commit 6aa44f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env node

const log = require('why-is-node-running'); // should be your first require
const why = require('wtfnode'); // should be your first require

/**
* @license
Expand Down Expand Up @@ -107,7 +107,7 @@ commander
* Display some debugging info upon exit.
*/
commander.option('-W, --why', `Display some debugging info upon exit.`).on('option:why', () => {
beforeExit = log;
beforeExit = why.dump;
});

/**
Expand Down

0 comments on commit 6aa44f4

Please sign in to comment.