|
|
|
@ -309,11 +309,11 @@ export const loadWorkspacePreset = async (template: WorkspaceTemplate = 'remixDe |
|
|
|
|
if (params.ghfolder) { |
|
|
|
|
const files = await plugin.call('contentImport', 'resolveGithubFolder', params.ghfolder) |
|
|
|
|
console.log(files) |
|
|
|
|
for (const [path, content] of Object.entries(files)) { |
|
|
|
|
for (const [path, content] of Object.entries(files)) { |
|
|
|
|
await workspaceProvider.set(path, content) |
|
|
|
|
} |
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return path |
|
|
|
|
} catch (e) { |
|
|
|
|
console.error(e) |
|
|
|
|