Skip to content

Commit

Permalink
fix: CREATED_BY_OUTPUT.SH ์‚ญ์ œ
Browse files Browse the repository at this point in the history
[#72]
  • Loading branch information
flydog98 authored and LuizyHub committed Nov 28, 2023
1 parent 570b240 commit b7a8b95
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/backend/src/containers/containers.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ export class ContainersService {
);

if (stdoutData.endsWith('# CREATED_BY_OUTPUT.SH\n')) {
return { message: stdoutData, result: 'editor' };
return {
message: stdoutData.slice(0, -'# CREATED_BY_OUTPUT.SH\n'.length),
result: 'editor',
};
}

if (stderrData) {
Expand Down

0 comments on commit b7a8b95

Please sign in to comment.