diff options
author | Luke Karrys <luke@lukekarrys.com> | 2021-11-03 23:49:57 +0300 |
---|---|---|
committer | Gar <gar+gh@danger.computer> | 2021-11-04 17:18:36 +0300 |
commit | cad9bc7af21da781c6858f65355ca3fdf4a06404 (patch) | |
tree | 6c3941266a2e559b7cc6f1ce1cab8a40bddf2283 /index.js | |
parent | ac2fabb8604db0dac852913d61c8415ae7464485 (diff) |
chore: lint previously ignored files
PR-URL: https://github.com/npm/cli/pull/3986
Credit: @lukekarrys
Close: #3986
Reviewed-by: @wraithgar
Diffstat (limited to 'index.js')
-rw-r--r-- | index.js | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,5 +1,4 @@ -if (require.main === module) { +if (require.main === module) require('./lib/cli.js')(process) -} else { +else throw new Error('The programmatic API was removed in npm v8.0.0') -} |