Skip to content

Commit

Permalink
test CI with no package.json import
Browse files Browse the repository at this point in the history
  • Loading branch information
southerneer committed Aug 20, 2019
1 parent 573c2ba commit a43facc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/store/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ import {log} from 'src/utils/logger'
import {autorun} from 'mobx'
import {settings} from '../globals'

const jsVersion = require('../../package.json').version
// const jsVersion = require('../../package.json').version
const jsVersion = '4.20.1'
const transport = new Transport(DeviceInfo.getUniqueID())
const {geolocation} = navigator
const auth = firebase.auth()
Expand Down
3 changes: 2 additions & 1 deletion src/utils/bugsnagCodeBundleId.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// codeBundleId is filled in by codepush.sh
const codeBundleId = ''

const version = require('../../package.json').version
// const version = require('../../package.json').version
const version = '4.20.1'

export default (platform: string): string =>
codeBundleId.length > 0 ? codeBundleId : `${version}-${platform}`

0 comments on commit a43facc

Please sign in to comment.