Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Commit

Permalink
Merge pull request #44 from crea1/patch-1
Browse files Browse the repository at this point in the history
Update example with missing require of semver
  • Loading branch information
stephenlacy committed Oct 2, 2015
2 parents aa25493 + 2027e9f commit f2ac137
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,10 @@ gulp.task('bump', function(){
```
#### Bumping version and outputting different files
```js


// `fs` is used instead of require to prevent caching in watch (require caches)

var fs = require('fs');
var semver = require('semver');

var getPackageJson = function () {
return JSON.parse(fs.readFileSync('./package.json', 'utf8'));
};
Expand Down

0 comments on commit f2ac137

Please sign in to comment.