Skip to content

Commit

Permalink
fix: changed order of commands
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSlimvReal committed Nov 21, 2023
1 parent 15fbb43 commit fd6a693
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app.controller.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ describe('AppController', () => {
await firstValueFrom(controller.deployApp(delpoymentData));

expect(mockWs.write).toHaveBeenCalledWith(
'test-name [email protected] test-username y n test-base',
'test-name [email protected] test-username test-base y n',
);
expect(mockWs.close).toHaveBeenCalled();
});
Expand Down
4 changes: 2 additions & 2 deletions src/app.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ export class AppController {

const args = `${deploymentInfo.name} ${deploymentInfo.email} ${
deploymentInfo.username
} ${deploymentInfo.backend ? 'y' : 'n'} ${
} ${deploymentInfo.base} ${deploymentInfo.backend ? 'y' : 'n'} ${
deploymentInfo.monitor ? 'y' : 'n'
} ${deploymentInfo.base}`;
}`;
console.log('args', args);
const ws = fs.createWriteStream('dist/assets/arg-pipe');
ws.write(args);
Expand Down

0 comments on commit fd6a693

Please sign in to comment.