We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6ac60e7 + cf4193c commit 53d764cCopy full SHA for 53d764c
src/contributes/commands.ts
@@ -219,6 +219,9 @@ export function registerInstallCommandsCommand(
219
let copiedDirectory = false;
220
if (!fs.existsSync(sysMericoDirPath) || (updatePublicWorkflow === false && currentVersion !== previousVersion)) {
221
logger.channel()?.debug("Creating directory: " + sysMericoDirPath);
222
+ if (fs.existsSync(sysMericoDirPath)) {
223
+ fs.rmSync(sysMericoDirPath, { recursive: true, force: true });
224
+ }
225
await copyDirectory(pluginDirPath, sysDirPath);
226
copiedDirectory = true;
227
}
0 commit comments