Skip to content

Commit

Permalink
Disable choo-log in production
Browse files Browse the repository at this point in the history
  • Loading branch information
Rik Smith-Unna committed Jun 28, 2017
1 parent 16a3dc2 commit e45c9f5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/client/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const app = choo({ href: false })

app.use(require('choo-asyncify'))
app.use(require('./models/error'))
app.use(require('choo-log')())
if (process.env['SCIENCEFAIR_DEVMODE']) app.use(require('choo-log')())

app.use(require('./models/renderer'))

Expand Down
1 change: 0 additions & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"cache-component": "5.0.0-1",
"choo": "^5.6.1",
"choo-asyncify": "^0.0.2",
"choo-log": "^6.1.1",
"copy-paste": "^1.3.0",
"csjs": "^1.0.5",
"csjs-inject": "^1.0.0",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
},
"license": "MIT",
"devDependencies": {
"choo-log": "^6.1.1",
"cross-zip": "^2.1.3",
"electron": "1.7.2",
"electron-builder": "^19.7.3",
Expand Down

0 comments on commit e45c9f5

Please sign in to comment.