chore: refresh plugin sdk api baseline

This commit is contained in:
Peter Steinberger
2026-03-24 18:49:04 +00:00
parent 783cbd1e9d
commit 7101ddc5d3
2 changed files with 1 additions and 11 deletions

View File

@@ -27,7 +27,7 @@ export const pluginCommands = new Proxy(new Map<string, RegisteredPluginCommand>
const value = Reflect.get(getPluginCommandMap(), property, getPluginCommandMap());
return typeof value === "function" ? value.bind(getPluginCommandMap()) : value;
},
}) as Map<string, RegisteredPluginCommand>;
});
export function isPluginCommandRegistryLocked(): boolean {
return getState().registryLocked;

View File

@@ -60,16 +60,6 @@ function withCwd<T>(cwd: string, run: () => T): T {
}
}
function withArgv1<T>(argv1: string, run: () => T): T {
const originalArgv = process.argv;
process.argv = [originalArgv[0] ?? "node", argv1, ...originalArgv.slice(2)];
try {
return run();
} finally {
process.argv = originalArgv;
}
}
function createPluginSdkAliasFixture(params?: {
srcFile?: string;
distFile?: string;