Commit 33d95aa2 authored by yann300's avatar yann300

standard

parent 00131882
...@@ -21,7 +21,7 @@ export default (fileProvider) => { ...@@ -21,7 +21,7 @@ export default (fileProvider) => {
fileStorageBrowserFS.set(flag, 'done') fileStorageBrowserFS.set(flag, 'done')
} }
export async function migrateToWorkspace (fileManager) { export async function migrateToWorkspace (fileManager) {
const browserProvider = fileManager.getProvider('browser') const browserProvider = fileManager.getProvider('browser')
const workspaceProvider = fileManager.getProvider('workspace') const workspaceProvider = fileManager.getProvider('workspace')
const flag = 'status' const flag = 'status'
...@@ -33,7 +33,7 @@ export async function migrateToWorkspace (fileManager) { ...@@ -33,7 +33,7 @@ export async function migrateToWorkspace (fileManager) {
const workspacePath = joinPath('browser', workspaceProvider.workspacesPath, workspaceName) const workspacePath = joinPath('browser', workspaceProvider.workspacesPath, workspaceName)
await fileManager.createWorkspace(workspaceName) await fileManager.createWorkspace(workspaceName)
await populateWorkspace(workspacePath, files, fileManager) await populateWorkspace(workspacePath, files, fileManager)
fileStorageBrowserWorkspace.set(flag, 'done') fileStorageBrowserWorkspace.set(flag, 'done')
} }
const populateWorkspace = async (workspace, json, fileManager) => { const populateWorkspace = async (workspace, json, fileManager) => {
...@@ -47,4 +47,3 @@ const populateWorkspace = async (workspace, json, fileManager) => { ...@@ -47,4 +47,3 @@ const populateWorkspace = async (workspace, json, fileManager) => {
} }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment