UNPKG
shelljs
Version:
latest (0.9.2)
0.9.2
0.9.1
0.9.0
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.8
0.7.7
0.7.6
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.1
0.6.0
0.5.3
0.5.2
0.5.1
0.5.0
0.4.0
0.3.0
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.9
0.0.8
0.0.7
0.0.6
0.0.6-pre2
0.0.6-pre1
0.0.5
0.0.5-pre4
0.0.5-pre3
0.0.5-pre2
0.0.5-pre1
0.0.4
0.0.4-pre1
0.0.3
0.0.2
0.0.2-pre1
0.0.1
0.0.1-alpha1
Portable Unix shell commands for Node.js
github.com/shelljs/shelljs
shelljs/shelljs
shelljs
/
src
/
errorCode.js
11 lines
(9 loc)
•
199 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
var
common =
require
(
'./common'
);
//@
//@ ### errorCode()
//@
//@ Returns the error code from the last command.
function
errorCode
(
) {
return
common.
state
.
errorCode
; }
module
.
exports
= errorCode;