diff --git a/red/runtime/storage/index.js b/red/runtime/storage/index.js index bff092080..1d6a13c65 100644 --- a/red/runtime/storage/index.js +++ b/red/runtime/storage/index.js @@ -196,7 +196,7 @@ function listFlows(path) { if (r.value.fn) { var name = r.value.name; if (!name) { - name = r.value.fn.split(".")[0]; + name = r.value.fn.replace(/\.json$/, ""); } result.f = result.f || []; result.f.push(name);