Skip to content

Commit

Permalink
Merge pull request #217 from VinSpee/evn-to-env
Browse files Browse the repository at this point in the history
fix: 🐛`NODE_EVN` should be `NODE_ENV`
  • Loading branch information
streamich authored Dec 29, 2018
2 parents f9db5e9 + 8feead7 commit d0f14df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addon/jsx.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ exports.addon = function (renderer) {
: fn(copy);
};

if (process.env.NODE_EVN !== 'production') {
if (process.env.NODE_ENV !== 'production') {
if (block) {
Component.displayName = 'jsx(' + block + ')';
}
Expand Down
2 changes: 1 addition & 1 deletion addon/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ exports.addon = function (renderer) {
return jsxComponent(copy);
};

if (process.env.NODE_EVN !== 'production') {
if (process.env.NODE_ENV !== 'production') {
if (block || (typeof fn === 'function')) {
Component.displayName = 'style(' + (block || fn.displayName || fn.name) + ')';
}
Expand Down

0 comments on commit d0f14df

Please sign in to comment.