Fixed workspace creation error
This commit is contained in:
parent
94b122d677
commit
70ae7dd9e6
@ -1,4 +1,3 @@
|
|||||||
import json
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
@ -110,9 +110,11 @@ class ConsoleBuilder:
|
|||||||
cls._create_file,
|
cls._create_file,
|
||||||
workspace_file_path,
|
workspace_file_path,
|
||||||
{
|
{
|
||||||
WorkspaceSettingsNameEnum.default_project.value: project_name,
|
WorkspaceSettings.__name__: {
|
||||||
WorkspaceSettingsNameEnum.projects.value: {
|
WorkspaceSettingsNameEnum.default_project.value: project_name,
|
||||||
project_name: project_file_path
|
WorkspaceSettingsNameEnum.projects.value: {
|
||||||
|
project_name: project_file_path
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
text_foreground_color=ForegroundColorEnum.green,
|
text_foreground_color=ForegroundColorEnum.green,
|
||||||
|
@ -110,9 +110,11 @@ class LibraryBuilder:
|
|||||||
cls._create_file,
|
cls._create_file,
|
||||||
workspace_file_path,
|
workspace_file_path,
|
||||||
{
|
{
|
||||||
WorkspaceSettingsNameEnum.default_project.value: project_name,
|
WorkspaceSettings.__name__: {
|
||||||
WorkspaceSettingsNameEnum.projects.value: {
|
WorkspaceSettingsNameEnum.default_project.value: project_name,
|
||||||
project_name: project_file_path
|
WorkspaceSettingsNameEnum.projects.value: {
|
||||||
|
project_name: project_file_path
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
text_foreground_color=ForegroundColorEnum.green,
|
text_foreground_color=ForegroundColorEnum.green,
|
||||||
|
Loading…
Reference in New Issue
Block a user