Fix commit hash handling in dev mode

This commit is contained in:
Jordan Eldredge 2018-04-08 14:50:19 -07:00
parent a1d73c2f34
commit 188b711952

View file

@ -48,7 +48,7 @@ function filterBreadcrumbActions(action) {
Raven.config(sentryDsn, {
/* global COMMITHASH */
release: COMMITHASH || "DEV"
release: typeof COMMITHASH !== "undefined" ? COMMITHASH : "DEV"
}).install();
// Don't prompt user to install Winamp2-js. It's probably not