Skip to content

Commit

Permalink
Remove "-2" from the end of app version
Browse files Browse the repository at this point in the history
  • Loading branch information
brunolemos committed Feb 6, 2020
1 parent 067604c commit ae5ad84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ThemeName, ThemePair } from '../types'

const pkg = require('../../package.json') // tslint:disable-line

export const APP_VERSION = pkg.version as string
export const APP_VERSION = `${pkg.version || ''}`.replace(/\-\d+$/g, '')

const _window = typeof window !== 'undefined' ? window : undefined
export const HOSTNAME =
Expand Down

0 comments on commit ae5ad84

Please sign in to comment.