mirror of
https://github.com/zhigang1992/npm.git
synced 2026-05-28 23:51:28 +08:00
Add shebangs for bin/ scripts, chmod 755 for completion.sh
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env node
|
||||
var argv = process.argv.slice(2)
|
||||
, user = argv[0] || process.getuid()
|
||||
, group = argv[1] || process.getgid()
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env node
|
||||
var argv = process.argv
|
||||
if (argv.length < 3) {
|
||||
console.error("Usage: read-package.json <file> [<fields> ...]")
|
||||
|
||||
0
lib/utils/completion.sh
Normal file → Executable file
0
lib/utils/completion.sh
Normal file → Executable file
Reference in New Issue
Block a user