Skip to content

Commit

Permalink
ref: Remove process.env.NODE_ENV from Vue integration (#2263)
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilogorek committed Oct 10, 2019
1 parent cf7f59f commit 68945a1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/integrations/src/vue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,7 @@ export class Vue implements Integration {
}

if (this._logErrors) {
if (process && process.env && process.env.NODE_ENV !== 'production') {
this._Vue.util.warn(`Error in ${info}: "${error.toString()}"`, vm);
}
this._Vue.util.warn(`Error in ${info}: "${error.toString()}"`, vm);
// tslint:disable-next-line:no-console
console.error(error);
}
Expand Down

0 comments on commit 68945a1

Please sign in to comment.