fix: controller 자체 갱신의 PM2 인자 복구
daemon 기본 명령을 사용해 PM2가 단일 인자 배열을 JSON 문자열로 전달하는 운영 오류를 피한다.
This commit is contained in:
@@ -445,8 +445,8 @@ describe('upgradeReleaseController', () => {
|
||||
expect(starts.at(-1)).toMatchObject({
|
||||
name: 'sammo:release-controller',
|
||||
cwd: path.join(workspace, 'app', 'release-controller'),
|
||||
args: ['daemon'],
|
||||
});
|
||||
expect(starts.at(-1)?.args).toBeUndefined();
|
||||
});
|
||||
|
||||
it('restores the old controller definition when the new daemon cannot start', async () => {
|
||||
|
||||
Reference in New Issue
Block a user