Skip to content

Commit

Permalink
this lint rule is annoying
Browse files Browse the repository at this point in the history
  • Loading branch information
dummdidumm committed Dec 12, 2023
1 parent 5b9df52 commit 0882cb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/migrate/migrations/sveltekit-2/migrate.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ function add_cookie_note(file_path, source) {
// Additional hoop-jumping necessary to not mix tabs and spaces
options_arg.addPropertyAssignment({
name: 'path',
initializer: `'.'`,
initializer: "'.'",
leadingTrivia: (writer) => {
writer.setIndentationLevel(0);
},
Expand All @@ -219,7 +219,7 @@ function add_cookie_note(file_path, source) {
call.formatText({ convertTabsToSpaces: !indent.includes('\t') });
});
} else {
calls.push(() => call.insertArguments(name === 'delete' ? 1 : 2, [`{ path: '.' }`]));
calls.push(() => call.insertArguments(name === 'delete' ? 1 : 2, ["{ path: '.' }"]));
}
}

Expand Down

0 comments on commit 0882cb5

Please sign in to comment.