File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,12 @@ export default class GenerateXmlCatalogCommand extends Command {
2626 return ;
2727 }
2828
29+ console . log ( 'workspaceFolder' , workspaceFolder . uri . fsPath ) ;
30+
2931 const catalogLocation = Uri . joinPath ( workspaceFolder . uri , '.vscode/magento-catalog.xml' ) ;
3032
33+ console . log ( 'catalogLocation' , catalogLocation . fsPath ) ;
34+
3135 if ( ! ( await FileSystem . fileExists ( catalogLocation ) ) ) {
3236 const success = await this . generateCatalog ( ) ;
3337
@@ -80,7 +84,9 @@ export default class GenerateXmlCatalogCommand extends Command {
8084 }
8185
8286 const xmlGenerator = new XmlGenerator ( xmlCatalog ) ;
83- const formattedCatalog = xmlGenerator . toString ( ) ;
87+ const formattedCatalog = xmlGenerator . toString ( {
88+ oneListGroup : false ,
89+ } ) ;
8490
8591 await FileSystem . writeFile ( catalogLocation , formattedCatalog ) ;
8692 }
You can’t perform that action at this time.
0 commit comments