@ryan_nookpi/pi-extension-setup-sh 0.2.2 → 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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/runner.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ryan_nookpi/pi-extension-setup-sh",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Auto-run setup.sh extension for pi.",
5
5
  "license": "MIT",
6
6
  "repository": {
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 (!record || record.status !== "running") return "실행 중인 setup.sh가 없습니다.";
141
+ if (record?.status !== "running") return "실행 중인 setup.sh가 없습니다.";
142
142
  if (!isPidAlive(record.pid)) {
143
143
  await finalizeRunIfNeeded(context);
144
144
  return "setup.sh 프로세스가 이미 종료되었습니다.";