This repository was archived by the owner on Oct 22, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ script:
20
20
-v ~/.cache/electron:/root/.cache/electron \
21
21
-v ~/.cache/electron-builder:/root/.cache/electron-builder \
22
22
electronuserland/builder \
23
- /bin/bash -c "npm install -g greenkeeper-lockfile@1 && npm run install-linux && greenkeeper-lockfile-update && npm run build && greenkeeper-lockfile-upload"
23
+ /bin/bash -c "npm install -g greenkeeper-lockfile@1 && npm install && greenkeeper-lockfile-update && npm run build && greenkeeper-lockfile-upload"
24
24
25
25
before_cache :
26
26
- rm -rf $HOME/.cache/electron-builder/wine
Original file line number Diff line number Diff line change @@ -44,15 +44,15 @@ const recursiveMinify = (dirPath) => {
44
44
console . log ( filePath + " - ❌" ) ;
45
45
console . log ( "" ) ;
46
46
console . log ( "" ) ;
47
- throw err ;
47
+ throw minified . error ;
48
48
}
49
49
case "css" :
50
50
let output = new CleanCSS ( { level :2 } ) . minify ( fs . readFileSync ( filePath , { encoding :"utf-8" } ) ) ;
51
51
if ( output . errors . length >= 1 ) {
52
52
console . log ( filePath + " - ❌" ) ;
53
53
console . log ( "" ) ;
54
54
console . log ( "" ) ;
55
- throw err ;
55
+ throw output . errors ;
56
56
} else {
57
57
writeMinified ( filePath , output . styles ) ;
58
58
break ;
You can’t perform that action at this time.
0 commit comments