Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
"deploy": "npm run pkg && npm run notarize && npm run upload",
"prepublishOnly": "npm run build"
},
"version": "1.2.1",
"version": "1.2.2",
"bugs": "https://github.com/codifycli/codify/issues",
"keywords": [
"oclif",
Expand Down
2 changes: 1 addition & 1 deletion src/orchestrators/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const TestOrchestrator = {
await spawn(`tart exec ${vmName} ln -s /Volumes/My\\ Shared\\ Files/codify-config/${path.basename(initializationResult.project.codifyFiles[0])} /Users/admin/codify.jsonc`, { interactive: true });

// Launch terminal and run codify apply
await (args.vmOs === OS.Darwin ? spawn(`tart exec ${vmName} osascript -e "tell application \\"Terminal\\" to do script \\"cd ~ && codify apply\\""`, { interactive: true }) : spawn(`tart exec ${vmName} gnome-terminal -- bash -c "cd ~/ && codify apply"`, { interactive: true }));
await (args.vmOs === OS.Darwin ? spawn(`tart exec ${vmName} osascript -e "tell application \\"Terminal\\" to do script \\"cd ~ && codify apply -y\\""`, { interactive: true }) : spawn(`tart exec ${vmName} gnome-terminal -- bash -c "cd ~/ && codify apply"`, { interactive: true }));

this.watchAndSyncFileChanges(initializationResult.project.codifyFiles[0], ip);

Expand Down
3 changes: 0 additions & 3 deletions src/utils/shell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,6 @@ export const ShellUtils = {
const shell = ShellUtils.getDefaultShell();
const output: string[] = [];

console.log('Shell', shell);

await new Promise<void>((resolve, reject) => {
const mPty = pty.spawn(shell, ['-i', '-c', `echo '${SENTINEL}'`], {
cols: 80,
Expand All @@ -158,7 +156,6 @@ export const ShellUtils = {
mPty.onExit(() => {
clearTimeout(timer);
const captured = stripAnsi(output.join('').trim());
console.log('Captured', captured);

const lines = captured
.split('\n')
Expand Down
Loading