@gpc-cli/core 0.9.30 → 0.9.31
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/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -560,7 +560,7 @@ async function getAppInfo(client, packageName) {
|
|
|
560
560
|
|
|
561
561
|
// src/commands/releases.ts
|
|
562
562
|
import { stat as stat2 } from "fs/promises";
|
|
563
|
-
import {
|
|
563
|
+
import { PlayApiError } from "@gpc-cli/api";
|
|
564
564
|
|
|
565
565
|
// src/utils/file-validation.ts
|
|
566
566
|
import { readFile, stat } from "fs/promises";
|
|
@@ -5257,8 +5257,7 @@ function formatStatusDiff(diff, since) {
|
|
|
5257
5257
|
}
|
|
5258
5258
|
async function runWatchLoop(opts) {
|
|
5259
5259
|
if (opts.intervalSeconds < 10) {
|
|
5260
|
-
|
|
5261
|
-
process.exit(2);
|
|
5260
|
+
throw new Error("--watch interval must be at least 10 seconds");
|
|
5262
5261
|
}
|
|
5263
5262
|
let running = true;
|
|
5264
5263
|
const cleanup = () => {
|