X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/2f9771027fa0b1096b1eb8d450d7abf95356ee20..2a7fd99c212c33a1ec9911f8529fa5afc59a7bb2:/src/common/app-info.ts diff --git a/src/common/app-info.ts b/src/common/app-info.ts index de6708eb63..a6e3af744d 100644 --- a/src/common/app-info.ts +++ b/src/common/app-info.ts @@ -7,7 +7,7 @@ export const getBuildInfo = (): string => { return "v" + process.env.REACT_APP_VERSION; } else { const getBuildNumber = "BN-" + (process.env.REACT_APP_BUILD_NUMBER || "dev"); - const getGitCommit = "GIT-" + (process.env.REACT_APP_GIT_COMMIT || "latest").substr(0, 7); + const getGitCommit = "GIT-" + (process.env.REACT_APP_GIT_COMMIT || "latest").substring(0, 7); return getBuildNumber + " / " + getGitCommit; } };