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 f12785b + 6d197fe commit fa9c065Copy full SHA for fa9c065
1 file changed
src/project-sync.service.js
@@ -90,6 +90,7 @@ async function downloadProject(projectId, config, projectDir) {
90
}
91
else{
92
await unzip(tempFile, tempDir);
93
+ fs.rmdir(projectDir, { recursive: true, force: true });
94
await exec('git', ['clone', "-b", "master", tempDir, projectDir]);
95
96
fs.rmdir(tempDir, { recursive: true, force: true });
0 commit comments