Skip to content

Commit a490964

Browse files
fix(index.ts): add missing commas for improved code clarity in prepare function
1 parent a75703c commit a490964

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ function normalizeToArray<T>(value: T | T[]): T[] {
162162

163163
export async function prepare(
164164
PluginConfig: PluginConfig,
165-
context: Context,
165+
context: Context
166166
): Promise<void> {
167167
for (const replacement of PluginConfig.replacements) {
168168
let { results } = replacement;
@@ -200,7 +200,7 @@ export async function prepare(
200200
default:
201201
return from;
202202
}
203-
},
203+
}
204204
);
205205

206206
replaceInFileConfig.to =
@@ -213,7 +213,7 @@ export async function prepare(
213213
from: From | From[];
214214
to: To | To[];
215215
processor?: never;
216-
},
216+
}
217217
);
218218

219219
if (results) {

0 commit comments

Comments
 (0)