summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/libcipm/node_modules/worker-farm/node_modules/errno/cli.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/libcipm/node_modules/worker-farm/node_modules/errno/cli.js')
-rwxr-xr-xdeps/npm/node_modules/libcipm/node_modules/worker-farm/node_modules/errno/cli.js22
1 files changed, 0 insertions, 22 deletions
diff --git a/deps/npm/node_modules/libcipm/node_modules/worker-farm/node_modules/errno/cli.js b/deps/npm/node_modules/libcipm/node_modules/worker-farm/node_modules/errno/cli.js
deleted file mode 100755
index 61d179bbe6..0000000000
--- a/deps/npm/node_modules/libcipm/node_modules/worker-farm/node_modules/errno/cli.js
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env node
-
-var errno = require('./')
- , arg = process.argv[2]
- , data, code
-
-if (arg === undefined) {
- console.log(JSON.stringify(errno.code, null, 2))
- process.exit(0)
-}
-
-if ((code = +arg) == arg)
- data = errno.errno[code]
-else
- data = errno.code[arg] || errno.code[arg.toUpperCase()]
-
-if (data)
- console.log(JSON.stringify(data, null, 2))
-else {
- console.error('No such errno/code: "' + arg + '"')
- process.exit(1)
-}