@ryan_nookpi/pi-extension-setup-sh 0.2.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/runner.ts +1 -1
package/package.json
CHANGED
package/runner.ts
CHANGED
|
@@ -138,7 +138,7 @@ export async function startSetup(cwd: string, mode: StartMode): Promise<StartRes
|
|
|
138
138
|
|
|
139
139
|
export async function cancelSetup(context: SetupContext): Promise<string> {
|
|
140
140
|
const record = await finalizeRunIfNeeded(context);
|
|
141
|
-
if (
|
|
141
|
+
if (record?.status !== "running") return "실행 중인 setup.sh가 없습니다.";
|
|
142
142
|
if (!isPidAlive(record.pid)) {
|
|
143
143
|
await finalizeRunIfNeeded(context);
|
|
144
144
|
return "setup.sh 프로세스가 이미 종료되었습니다.";
|