Skip to content

Commit 2ca263c

Browse files
fix: metadata-loader should use push instead of unshift
1 parent 42fea8b commit 2ca263c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/plugin/metadata-loader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export class MetadataLoader {
44
private static readonly refreshHooks = new Array<() => void>();
55

66
static addRefreshHook(hook: () => void) {
7-
return MetadataLoader.refreshHooks.unshift(hook);
7+
return MetadataLoader.refreshHooks.push(hook);
88
}
99

1010
async load(metadata: Record<string, any>) {

0 commit comments

Comments
 (0)