14 lines
493 B
Diff
14 lines
493 B
Diff
diff --git a/packages/runs/src/runs.mjs b/packages/runs/src/runs.mjs
|
|
index 03730c33..e02fea8e 100644
|
|
--- a/packages/runs/src/runs.mjs
|
|
+++ b/packages/runs/src/runs.mjs
|
|
@@ -23,7 +23,7 @@ export function listRunIds(dataRoot) {
|
|
try {
|
|
names = fs.readdirSync(root);
|
|
} catch (error) {
|
|
- if (isMissing(error)) return [];
|
|
+ return [];
|
|
throw new RunsError(`cannot read ${root}: ${error.code ?? error.message}`);
|
|
}
|
|
return names.filter((name) => name.startsWith("r-")).sort();
|