Skip to content
This repository has been archived by the owner on Nov 21, 2017. It is now read-only.

Commit

Permalink
fix(warn): is gutil.log
Browse files Browse the repository at this point in the history
Bump conventional-changelog to 0.1.1.
Minor markdown fix.
  • Loading branch information
stevemao committed Jul 20, 2015
1 parent 421e006 commit dec198f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ node_js:
- '0.12'
- '0.10'
before_script:
- git config --global user.name "Travis-CI"
- git config --global user.email "dummy@example.org"
- git config --global user.name 'Travis-CI'
- git config --global user.email 'dummy@example.org'
after_script: NODE_ENV=test istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
var addStream = require('add-stream');
var concat = require('concat-stream');
var conventionalChangelog = require('conventional-changelog');
var gutil = require('gulp-util');
var through = require('through2');

module.exports = function(opts, context, gitRawCommitsOpts, parserOpts, writerOpts) {
opts = opts || {};
opts.warn = gutil.log;

return through.obj(function(file, enc, cb) {
if (file.isNull()) {
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"dependencies": {
"add-stream": "^1.0.0",
"concat-stream": "^1.5.0",
"conventional-changelog": "0.1.0-alpha.3",
"conventional-changelog": "0.1.1",
"gulp-util": "^3.0.6",
"through2": "^2.0.0"
},
"devDependencies": {
Expand Down
10 changes: 9 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> Generate a changelog using [conventional-changelog](https://github.com/stevemao/conventional-changelog)
*Issues with the output should be reported on the conventional-changelog [issue tracker](https://github.com/stevemao/conventional-changelog/issues).*
*Issues with the output should be reported on the `conventional-changelog` [issue tracker](https://github.com/stevemao/conventional-changelog/issues).*


## Install
Expand Down Expand Up @@ -85,6 +85,14 @@ gulp.task('default', function () {

See the [conventional-changelog](https://github.com/ajoslin/conventional-changelog) docs.

There are some changes:

### changelogOpts

#### warn

It is `gutil.log`.


## License

Expand Down

0 comments on commit dec198f

Please sign in to comment.