chore(format): oxfmt hooks-cli
This commit is contained in:
@@ -45,10 +45,7 @@ export type HooksUpdateOptions = {
|
|||||||
dryRun?: boolean;
|
dryRun?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
function mergeHookEntries(
|
function mergeHookEntries(pluginEntries: HookEntry[], workspaceEntries: HookEntry[]): HookEntry[] {
|
||||||
pluginEntries: HookEntry[],
|
|
||||||
workspaceEntries: HookEntry[],
|
|
||||||
): HookEntry[] {
|
|
||||||
const merged = new Map<string, HookEntry>();
|
const merged = new Map<string, HookEntry>();
|
||||||
for (const entry of pluginEntries) {
|
for (const entry of pluginEntries) {
|
||||||
merged.set(entry.hook.name, entry);
|
merged.set(entry.hook.name, entry);
|
||||||
|
|||||||
Reference in New Issue
Block a user