Passed
Push — master ( dca56c...c7bbfb )
by Leon
02:38
created

ins_pkg.js   A

Complexity

Total Complexity 2
Complexity/F 2

Size

Lines of Code 7
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 5
mnd 1
bc 1
fnc 1
dl 0
loc 7
rs 10
bpm 1
cpm 2
noi 2
c 0
b 0
f 0
1
// @grant nodejs
2
console.log(`⏳ 初始化安装环境依赖开始...`);
0 ignored issues
show
Debugging Code introduced by
console.log looks like debug code. Are you sure you do not want to remove it?
Loading history...
3
$exec(`chmod +x ./checkinpanel/ins_pkg.sh && sh ./checkinpanel/ins_pkg.sh`, {
4
    timeout: 0,
5
    cb(data, error) {
6
        error ? console.error(error) : console.log(data);
0 ignored issues
show
Debugging Code introduced by
console.log looks like debug code. Are you sure you do not want to remove it?
Loading history...
7
    },
8
});
9