Skip to content

Commit a0aab11

Browse files
committed
fix lint error
1 parent 0cc10c0 commit a0aab11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/shared/package-json.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export function readPackageJson(dirname) {
3737

3838
let packageJson;
3939
try {
40-
const contents = fs.readFileSync(packageJsonPath, 'utf8');
40+
const contents = fs.readFileSync(packageJsonPath);
4141
packageJson = JSON.parse(contents);
4242
} catch {
4343
// This can happen if package.json files have comments in them etc.

0 commit comments

Comments
 (0)