Skip to content

Commit

Permalink
v7.3.0 — Set bail argument to true only when run in production. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
DamianMullins authored Jan 30, 2018
1 parent bc123d5 commit 2ad7b83
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).


v7.3.0
------------------------------
*January 30, 2018*

### Changed
- Set `bail` argument to `true` only when run in production.


v7.2.0
------------------------------
*January 23, 2018*
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@justeat/gulp-build-fozzie",
"version": "7.2.0",
"version": "7.3.0",
"description": "Gulp build tasks for use across Fozzie modules",
"main": "index.js",
"author": "Damian Mullins <[email protected]> (http://www.damianmullins.com)",
Expand Down
3 changes: 2 additions & 1 deletion tasks/copy.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,6 @@ gulp.task('copy:assets', () =>
dest: config.assetDistDir,
verbose: config.importedAssets.verbose,
logger: gutil.log
}).catch(config.gulp.onError)
})
.catch(config.gulp.onError)
);
2 changes: 1 addition & 1 deletion tasks/javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ gulp.task('scripts:lint', () => gulp.src([`${pathBuilder.jsSrcDir}/**/*.js`, ...


const jestTestRun = (args = {}) => jest.runCLI(
Object.assign({ bail: true }, args),
Object.assign({ bail: config.isProduction }, args),
[path.resolve(process.cwd())]
);

Expand Down

0 comments on commit 2ad7b83

Please sign in to comment.