File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/renderer/actions/local-sync Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -1161,7 +1161,7 @@ export class FsManager {
11611161 } ) ;
11621162 const writeResult = await writeContent (
11631163 descriptionFile ,
1164- { description : collection . description } ,
1164+ collection . description ,
11651165 new ReadmeRecordFileType ( )
11661166 ) ;
11671167 if ( writeResult . type === "error" ) {
@@ -1192,9 +1192,12 @@ export class FsManager {
11921192 id : appendPath ( collectionFolder . path , COLLECTION_VARIABLES_FILE ) ,
11931193 type : "file" ,
11941194 } ) ;
1195+ const parsedVariables = parseToEnvironmentEntity (
1196+ collection . data . variables
1197+ ) ;
11951198 const writeResult = await writeContent (
11961199 variablesFile ,
1197- collection . data . variables ,
1200+ parsedVariables ,
11981201 new CollectionVariablesRecordFileType ( )
11991202 ) ;
12001203 if ( writeResult . type === "error" ) {
You can’t perform that action at this time.
0 commit comments