diff --git a/package.json b/package.json index 51cee99..f0882bb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kevisual/cnb", - "version": "0.0.31", + "version": "0.0.32", "description": "", "main": "index.js", "scripts": { diff --git a/src/workspace/keep-file-live.ts b/src/workspace/keep-file-live.ts index f544b33..d0e4cca 100644 --- a/src/workspace/keep-file-live.ts +++ b/src/workspace/keep-file-live.ts @@ -108,7 +108,7 @@ export const createLiveData = (data: { cookie: string, repo: string, pipelineId: const { cookie, repo, pipelineId } = data; const createdTime = Date.now(); const wsUrl = `wss://${pipelineId}.cnb.space:443?skipWebSocketFrames=false`; - const pm2Name = `${repo}__${pipelineId}`.replace(/\//g, '__'); + const pm2Name = `keep_${repo}__${pipelineId}`.replace(/\//g, '__'); const filePath = path.join(os.homedir(), '.cnb', `${pm2Name}.json`); const _newData = { wss: wsUrl, wsUrl, cookie, repo, pipelineId, createdTime, filePath, pm2Name }; if (!fs.existsSync(path.dirname(filePath))) {