@flumecode/runner 0.12.1 → 0.13.0
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/cli.js +1 -8
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -604,14 +604,7 @@ function parseManifest(raw) {
|
|
|
604
604
|
if (typeof r.key !== "string" || !r.key) return null;
|
|
605
605
|
if (r.socket !== "pre-commit") return null;
|
|
606
606
|
if (typeof r.run !== "string" || !r.run) return null;
|
|
607
|
-
|
|
608
|
-
if (typeof r.heartbeat === "object" && r.heartbeat !== null) {
|
|
609
|
-
const hb = r.heartbeat;
|
|
610
|
-
if (typeof hb.url === "string" && typeof hb.token === "string") {
|
|
611
|
-
manifest.heartbeat = { url: hb.url, token: hb.token };
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
return manifest;
|
|
607
|
+
return { key: r.key, socket: r.socket, run: r.run };
|
|
615
608
|
}
|
|
616
609
|
|
|
617
610
|
// src/plugins/socket.ts
|