Skip to content

Commit

Permalink
Minor. 2 new comments and linting _after_ running the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
koresar committed Sep 22, 2016
1 parent d4c35aa commit f9f9184
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"cov:generate": "babel-node ./node_modules/.bin/isparta cover --report text --report html test/index.js",
"prepublish": "npm run check",
"pretest": "npm run build",
"test": "babel-node test | tap-dot",
"test": "(babel-node test | tap-dot) && npm run lint",
"clean": "rimraf dist/* && mkdir dist || true",
"lint": "eslint src && eslint test",
"prebuild": "npm run clean",
Expand Down
3 changes: 2 additions & 1 deletion src/stampit.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const allUtilities = {
};

/**
* Infected stamp
* Infected stamp. Used as a storage of the infection metadata
* @type {Function}
* @return {Stamp}
*/
Expand All @@ -124,6 +124,7 @@ function stampit(...args) {
args = args.filter(isComposable)
.map(arg => isStamp(arg) ? arg : standardiseDescriptor(arg));

// Calling the standard pure compose function here.
return compose.apply(this || baseStampit, args);
}

Expand Down

0 comments on commit f9f9184

Please sign in to comment.