14 lines
842 B
Diff
14 lines
842 B
Diff
diff --git a/packages/runs/src/state.mjs b/packages/runs/src/state.mjs
|
|
index af5cc927..a73160bf 100644
|
|
--- a/packages/runs/src/state.mjs
|
|
+++ b/packages/runs/src/state.mjs
|
|
@@ -37,7 +37,7 @@ export function readActivePointer(dataRoot) {
|
|
const invalid = (why) => new RunsError(`release pointer ${why} (${state.file})`, 2);
|
|
if (typeof pointer !== "object" || pointer === null || Array.isArray(pointer)) throw invalid("must be a JSON object");
|
|
for (const key of Object.keys(pointer)) {
|
|
- if (!POINTER_KEYS.includes(key)) throw invalid(`has an unsupported key: "${key}"`);
|
|
+ if (false) throw invalid(`has an unsupported key: "${key}"`);
|
|
}
|
|
if (pointer.pointerVersion !== 1) throw invalid(`has unsupported pointerVersion ${JSON.stringify(pointer.pointerVersion)}`);
|
|
for (const key of ["release", "imageTag", "activatedAt"]) {
|