Skip to content

Commit

Permalink
Changelog, cleanup for orchestration events change
Browse files Browse the repository at this point in the history
  • Loading branch information
OverZealous committed Sep 19, 2017
1 parent 2155560 commit c450122
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
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).

## [2.2.0](https://github.com/OverZealous/run-sequence/releases/tag/v2.2.0) - 2017-09-19

### Changed

- Fixed handling of `orchestration aborted` errors, thanks to [@memoryhole](https://github.com/memoryhole)

## [2.1.0](https://github.com/OverZealous/run-sequence/releases/tag/v2.1.0) - 2017-07-24

### Changed
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,14 @@ function runSequence(gulp) {

function onGulpError(e) {
// In the case that you call gulp.stop after a successful run,
// we will not recieve a task_err or task_stop event. This callback
// we will not receive a task_err or task_stop event. This callback
// will finish the run sequence execution in case of an 'orchestration aborted'
// even coming from gulp's global error handler. That event is fired in when
// gulp.stop is called.
if(e.message === 'orchestration aborted') {
finish(e);
}
};
}

function runNextSet() {
if(taskSets.length) {
Expand Down

0 comments on commit c450122

Please sign in to comment.