Skip to content
Snippets Groups Projects

fix: fixed async issue when removing files no proper awaiting is made

5 files
+ 26
18
Compare changes
  • Side-by-side
  • Inline

Files

@@ -6,6 +6,7 @@ const homeDir = os.homedir();
// if we are on container, means the directory will depend differently
const onContainer = isDocker();
// TODO: remove this next line
const deadlockExtensionPath = path.join(homeDir, 'deadlock-extension');
const deadlockConfigPath = path.join(homeDir, '.deadlock');
@@ -14,6 +15,7 @@ export const missionWorkdir = path.join(deadlockConfigPath, 'workspace');
export const PROJECT_SRC_PATH = onContainer ? '/project' : path.join(homeDir, 'deadlock-extension', '/project');
// TODO: remove this next line (theia????)
export const PROJECT_DEADLOCK_DESKTOP_PATH = onContainer
? path.join('/home/deadlock/mission')
: path.join(deadlockExtensionPath, 'project-theia');
Loading