Skip to content

Commit

Permalink
test(auto): 💄 Fixed some linting
Browse files Browse the repository at this point in the history
  • Loading branch information
NiccoloOlivieriAchille committed Feb 22, 2024
1 parent efde556 commit 3f11aba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/auto-config/src/cli/config/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const handler: (args: ArgumentsCamelCase<any>) => void | Promise<void> =
if (existsSync(packageJsonPath)) {
const packageJsonString = readFileSync(packageJsonPath, 'utf8');
const packageJson = JSON.parse(packageJsonString) as {
scripts?: { [key: string]: string };
scripts?: Record<string, string>;
};

if (!packageJson.scripts) {
Expand Down

0 comments on commit 3f11aba

Please sign in to comment.