Skip to content

Commit

Permalink
Merge pull request #855 from sendgrid/lint-fix
Browse files Browse the repository at this point in the history
Linter Fixes
  • Loading branch information
thinkingserious authored Dec 6, 2018
2 parents 5587afb + 72e3049 commit 2701787
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 2701787

Please sign in to comment.