Skip to content

Commit

Permalink
fix: revert extra license newline
Browse files Browse the repository at this point in the history
  • Loading branch information
dbushong committed Oct 29, 2021
1 parent 3ee385d commit a7ee4ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib/license/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const COMMENT_TYPES = {
return ` ${`* ${line}`.trim()}`;
})
.join('\n');
return `/*\n${body}\n */\n`;
return `/*\n${body}\n */`;
},
},
'.coffee': {
Expand Down
1 change: 0 additions & 1 deletion test/license/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ describe('addLicenseHeaders', () => {
/*
* SIMPLE
*/
import { mittens } from 'kittens';
`
);
Expand Down

0 comments on commit a7ee4ad

Please sign in to comment.