Skip to content
This repository has been archived by the owner on Feb 19, 2018. It is now read-only.

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sondr3 committed Jul 28, 2016
1 parent 541f8bc commit e47385a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion generators/gulp/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ module.exports = generators.Base.extend({
this.templatePath('gulpfile.js'),
this.destinationPath('gulpfile.js'),
{
date: (new Date).toISOString().split('T')[0], // eslint-disable-line
date: (new Date()).toISOString().split('T')[0],
name: this.options.name,
version: this.options.version,
noUpload: this.options.uploading === 'None'
Expand Down
3 changes: 2 additions & 1 deletion test/gulp.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ test('creates gulpfile', () => {

test('creates comment about creation', () => {
const pkg = require('../package.json');
const date = (new Date).toISOString().split('T')[0]; // eslint-disable-line

const date = (new Date()).toISOString().split('T')[0];
assert.fileContent('gulpfile.js', '// generated on ' + date + ' using ' + pkg.name + ' ' + pkg.version);
});

Expand Down

0 comments on commit e47385a

Please sign in to comment.