Skip to content

Commit

Permalink
fix(mods): remove duplicated writeFile calls
Browse files Browse the repository at this point in the history
  • Loading branch information
justinrusso committed Nov 1, 2022
1 parent e9c2cc3 commit 29a5aba
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/mods/incontrol/incontrol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ export class InControl {
}

public generateFiles(): Promise<void[]> {
Array.from(InControl.configPaths).map(([_, path]) =>
writeFile(path, JSON.stringify({}, undefined, 2))
);
return Promise.all(
Array.from(InControl.configPaths).map(([config, path]) =>
writeFile(
Expand Down

0 comments on commit 29a5aba

Please sign in to comment.