|
|
@ -134,7 +134,6 @@ export const createWorkspace = async ( |
|
|
|
isGitRepo: boolean = false, |
|
|
|
isGitRepo: boolean = false, |
|
|
|
createCommit: boolean = true |
|
|
|
createCommit: boolean = true |
|
|
|
) => { |
|
|
|
) => { |
|
|
|
console.log('createWorkspace', workspaceName, workspaceTemplateName, opts, isEmpty, isGitRepo, createCommit) |
|
|
|
|
|
|
|
if (plugin.registry.get('platform').api.isDesktop()) { |
|
|
|
if (plugin.registry.get('platform').api.isDesktop()) { |
|
|
|
if (workspaceTemplateName) { |
|
|
|
if (workspaceTemplateName) { |
|
|
|
await plugin.call('remix-templates', 'loadTemplateInNewWindow', workspaceTemplateName, opts) |
|
|
|
await plugin.call('remix-templates', 'loadTemplateInNewWindow', workspaceTemplateName, opts) |
|
|
|