X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/ee3ec96e1241b4cc3afe99da3d9ea86bb784dc5f..f9d1c360e059ed07909abd7bc83a61fcd3e2746d:/src/common/app-info.ts diff --git a/src/common/app-info.ts b/src/common/app-info.ts index de6708eb..a6e3af74 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; } };