Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Change COVER variable to JAM_COVER so it doesn't pickup other project…

…'s vars.
  • Loading branch information...
commit 3203a1bbe95d6b943fc5c8b8a794a73897098237 1 parent a28a556
@chakrit authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  Makefile
  2. +1 −1  index.js
View
2  Makefile
@@ -48,7 +48,7 @@ tdd: node_modules
# Code instrumentation
instrument: node_modules $(COV_FILES)
cover: instrument
- NODE_ENV=$(TEST_ENV) COVER=1 $(BIN)/mocha $(MOCHA_COVER_OPTS) $(TEST_FILES)
+ NODE_ENV=$(TEST_ENV) JAM_COVER=1 $(BIN)/mocha $(MOCHA_COVER_OPTS) $(TEST_FILES)
complex:
$(BIN)/plato $(PLATO_OPTS) $(LIB_FILES)
View
2  index.js
@@ -1,6 +1,6 @@
// index.js - Main application entrypoint
-module.exports = process.env.COVER ?
+module.exports = process.env.JAM_COVER ?
require('./lib-cov/jam') :
require('./lib/jam');
Please sign in to comment.
Something went wrong with that request. Please try again.