Skip to content

Commit

Permalink
revert: remove unnecessary exit-hook
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed Sep 2, 2021
1 parent 833d33a commit ab0046a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
'use strict';

const {existsSync} = require('fs');
const exitHook = require('exit-hook');
const prepublishOnly = require('../lib/prepublish-only');
const postpublish = require('../lib/postpublish');
const {
Expand All @@ -13,9 +12,6 @@ const {
Exit,
} = require('../lib/utils');

// Ctrl+C to block publish
exitHook(() => process.exit(1));

const {npm_lifecycle_event: lifeCycleEvent} = process.env;

let state;
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"*.js": "xo"
},
"dependencies": {
"exit-hook": "^2.2.1",
"graceful-fs": "^4.2.4",
"meow": "^8.0.0",
"npm-registry-fetch": "^11.0.0",
Expand Down
7 changes: 0 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ab0046a

Please sign in to comment.