mirror of
https://github.com/HeyPuter/puter.git
synced 2026-04-29 03:29:37 -05:00
fix(phoenix): Add missing newlines to sed command output
This commit is contained in:
@@ -343,7 +343,7 @@ export class DebugPrintCommand extends Command {
|
||||
output += c;
|
||||
}
|
||||
}
|
||||
await context.out.write(output);
|
||||
await context.out.write(output + '\n');
|
||||
return JumpLocation.None;
|
||||
}
|
||||
|
||||
@@ -360,7 +360,7 @@ export class PrintCommand extends Command {
|
||||
}
|
||||
|
||||
async run(context) {
|
||||
await context.out.write(context.patternSpace);
|
||||
await context.out.write(context.patternSpace + '\n');
|
||||
return JumpLocation.None;
|
||||
}
|
||||
|
||||
@@ -378,7 +378,7 @@ export class PrintLineCommand extends Command {
|
||||
|
||||
async run(context) {
|
||||
const firstLine = context.patternSpace.split('\n', 2)[0];
|
||||
await context.out.write(firstLine);
|
||||
await context.out.write(firstLine + '\n');
|
||||
return JumpLocation.None;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user