mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
build - make gulp return non-zero error code on bundle fail
This commit is contained in:
parent
afbe6f5e5f
commit
4d42cfaa25
@ -296,8 +296,6 @@ function bundleTask(opts) {
|
|||||||
return (
|
return (
|
||||||
|
|
||||||
bundler.bundle()
|
bundler.bundle()
|
||||||
// log errors if they happen
|
|
||||||
.on('error', gutil.log.bind(gutil, 'Browserify Error'))
|
|
||||||
// convert bundle stream to gulp vinyl stream
|
// convert bundle stream to gulp vinyl stream
|
||||||
.pipe(source(opts.filename))
|
.pipe(source(opts.filename))
|
||||||
// inject variables into bundle
|
// inject variables into bundle
|
||||||
|
Loading…
x
Reference in New Issue
Block a user