From b9ef856e892dc05632985bf00399279bd62931ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Ferreira?= Date: Tue, 5 Oct 2021 23:36:21 -0300 Subject: [PATCH] fixed bug where all platforms were unaligned generated --- src/creator.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/creator.ts b/src/creator.ts index df8741d..32b3318 100644 --- a/src/creator.ts +++ b/src/creator.ts @@ -74,10 +74,6 @@ exports.createNewProject = async function(context: vscode.ExtensionContext) { vscode.commands.executeCommand('vscode.openFolder', uri); }; - - - - function setupFile(path: string, destPath: string, options: any) { return fs.copy(path, destPath) .then(async function() { @@ -86,7 +82,7 @@ function setupFile(path: string, destPath: string, options: any) { if(options.platforms) { for(let i = 0; i < options.platforms.length; i++) { let platform = `${options.platforms[i]}`; - if(i < 0 ) { + if(i > 0) { platform = '\t\t\t\t\t\t' + platform; } if(i < options.platforms.length - 1) {