We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bce0c12 commit f419d03Copy full SHA for f419d03
core/frontend/src/utils/helper_functions.ts
@@ -46,7 +46,7 @@ export function convertGitDescribeToUrl(git_describe: string): string {
46
const project_url = `https://github.com/${user}/${repository}`
47
48
// Local development version, pointing to root page
49
- if (git_describe.endsWith('-dirty') || git_describe.length === 0) {
+ if (!git_describe || git_describe.endsWith('-dirty') || git_describe.length === 0) {
50
return project_url
51
}
52
0 commit comments