Skip to content
This repository has been archived by the owner on Jun 14, 2020. It is now read-only.

Commit

Permalink
fixed gulp utils issue (closes #130)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsebastien committed Jun 11, 2016
1 parent 16c1216 commit 6fb5ddb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
* 0.5.4
* fixed #130 (undefined.emit)
* 0.5.3
* now less strict with dependencies (#118)
* updated dependencies
Expand Down
3 changes: 3 additions & 0 deletions UPGRADE.MD
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Upgrade guide

## From 0.5.3 to 0.5.4
No modification mandatory with this release.

## From 0.5.2 to 0.5.3
Review the versions of your dependencies.

Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "modern-web-dev-build",
"description": "Modern Web Development Build.",
"version": "0.5.3",
"version": "0.5.4",
"author": {
"name": "Sebastien Dubois",
"email": "[email protected]",
Expand Down Expand Up @@ -120,13 +120,13 @@
},
"scripts": {
"clean": "gulp clean",
"compile": "gulp",
"build": "npm run compile && gulp test-unit",
"test": "gulp prepare-test-unit && gulp test-unit",
"build": "gulp",
"pretest": "gulp prepare-test-unit",
"test": "gulp test-unit",
"update": "npm install --no-optional",
"outdated": "npm outdated",
"help": "gulp help",
"setup": "npm install --no-optional",
"prepublish": "npm run build"
"prepublish": "npm test"
}
}
2 changes: 1 addition & 1 deletion src/gulp/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ let exitOnError = false;
* Reference: https://github.com/mikaelbr/gulp-notify/issues/81
* @param error the error to report
*/
let reportError = (error) =>{
let reportError = function(error){ // note that we do not use an arrow function to get the expected value of this when this function is called (i.e., context of the caller)
let lineNumber = error.lineNumber ? `LINE ${error.lineNumber} -- ` : "";
let report = "";
let chalk = gutil.colors.white.bgRed;
Expand Down

0 comments on commit 6fb5ddb

Please sign in to comment.