Skip to content

Commit 1ebe15f

Browse files
authored
Fixes bug - Publish solution is not working. Closes #645 (#650)
## 🎯 Aim Fixes issue of incorrect command chain operator for different shell types ## 📷 Result NA ## ✅ What was done - [X] Added logic to set the correct command chain operator for all shell types ## 🔗 Related issue Closes: #645
1 parent 1eefde7 commit 1ebe15f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/services/executeWrappers/TerminalCommandExecuter.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,8 @@ export class TerminalCommandExecuter {
206206
const answer = await TerminalCommandExecuter.environmentTypePrompt();
207207

208208
if (answer) {
209-
commands.executeCommand(Commands.executeTerminalCommand, `gulp bundle${answer === 'local' ? '' : ' --ship'} && gulp package-solution${answer === 'local' ? '' : ' --ship'}`);
209+
const cmdChainOperator = TerminalCommandExecuter.getCommandChainOperator();
210+
commands.executeCommand(Commands.executeTerminalCommand, `gulp bundle${answer === 'local' ? '' : ' --ship'}${cmdChainOperator} gulp package-solution${answer === 'local' ? '' : ' --ship'}`);
210211
}
211212
}
212213

0 commit comments

Comments
 (0)