diff --git a/bin/gstack-sprint-dashboard b/bin/gstack-sprint-dashboard index c75a75969..460ee6c25 100755 --- a/bin/gstack-sprint-dashboard +++ b/bin/gstack-sprint-dashboard @@ -18,7 +18,7 @@ */ import { existsSync, readFileSync, writeFileSync, statSync, readdirSync } from "fs"; -import { join, basename } from "path"; +import { join, basename, resolve } from "path"; import { execFileSync, spawn } from "child_process"; import { homedir } from "os"; @@ -773,26 +773,58 @@ function renderPage(slug: string, branch: string, sections: Record { + console.error(`Could not auto-open ${absPath} automatically — open it manually.`); + }); child.unref(); } catch { - console.error(`Could not auto-open ${path} — open it manually.`); + console.error(`Could not auto-open ${absPath} automatically — open it manually.`); } }