Skip to content

Commit 1a14e82

Browse files
committed
fix: lint package.json
1 parent eb48b55 commit 1a14e82

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

elements/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,5 @@
119119
"lit": "2.3.0",
120120
"tslib": "^2.4.1"
121121
}
122-
}
122+
}
123+

tools/pfe-tools/cli/commands/lint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export async function handler(argv: Opts) {
4646
}
4747

4848
if (argv.fix) {
49-
await writeFile(PACKAGE_JSON_PATH, `${JSON.stringify(packageJson, null, 2)}\n`, 'utf-8');
49+
await writeFile(PACKAGE_JSON_PATH, `${JSON.stringify(packageJson, null, 2)}\n\n`, 'utf-8');
5050
return;
5151
}
5252

0 commit comments

Comments
 (0)