Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
brianseeders committed Aug 14, 2020
1 parent 7321d65 commit 58b3764
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dev/notice/generate_notice_from_source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export async function generateNoticeFromSource({ productName, directory, log }:
const noticeComments: string[] = [];
await new Promise((resolve, reject) => {
files
.on('data', file => {
.on('data', (file) => {
log.verbose(`Checking for @notice comments in ${file.relative}`);

const source = file.contents.toString('utf8');
Expand All @@ -89,7 +89,7 @@ export async function generateNoticeFromSource({ productName, directory, log }:
noticeText += '\n---\n';
noticeText += comment
.split(NEWLINE_RE)
.map(line =>
.map((line) =>
line
// trim whitespace
.trim()
Expand Down

0 comments on commit 58b3764

Please sign in to comment.