update
This commit is contained in:
5
package/index.js
Normal file
5
package/index.js
Normal file
@@ -0,0 +1,5 @@
|
||||
if (require.main === module) {
|
||||
require('./lib/cli.js')(process)
|
||||
} else {
|
||||
throw new Error('The programmatic API was removed in npm v8.0.0')
|
||||
}
|
Reference in New Issue
Block a user