Skip to content

Commit

Permalink
Linter Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkingserious committed Dec 6, 2018
1 parent 5587afb commit 72e3049
Show file tree
Hide file tree
Showing 18 changed files with 739 additions and 732 deletions.
4 changes: 2 additions & 2 deletions license.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
/**
* Dependencies
*/
const fs = require("fs");
const fs = require('fs');

/**
* Tests
*/
describe('LICENSE', () => {
it('should contain the current year as the end year of the license', () => {
const license = fs.readFileSync(`${process.cwd()}/LICENSE.md`, 'utf8');
const currentYear= (new Date()).getFullYear();
const currentYear = (new Date()).getFullYear();
return expect(license.indexOf(`-${currentYear}`)).to.not.equal(-1);
});
});
Expand Down
Loading

0 comments on commit 72e3049

Please sign in to comment.