@adonisjs/ignitor
Advanced tools
Comparing version 1.0.10 to 1.0.11
@@ -0,1 +1,11 @@ | ||
<a name="1.0.11"></a> | ||
## [1.0.11](https://github.com/adonisjs/adonis-ignitor/compare/v1.0.10...v1.0.11) (2017-09-14) | ||
### Features | ||
* **ignitor:** switch node env to testing on exec test command ([10ba6bd](https://github.com/adonisjs/adonis-ignitor/commit/10ba6bd)) | ||
<a name="1.0.10"></a> | ||
@@ -2,0 +12,0 @@ ## [1.0.10](https://github.com/adonisjs/adonis-ignitor/compare/v1.0.9...v1.0.10) (2017-08-22) |
{ | ||
"name": "@adonisjs/ignitor", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"description": "Fire the adonis-app (in good sense)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -577,2 +577,15 @@ 'use strict' | ||
async fireAce () { | ||
/** | ||
* Since ignitor is just used by Adonis, I am taking the privelage | ||
* to update the `NODE_ENV` to testing when `test` command is | ||
* executed. | ||
* | ||
* This is the only place I can do this weird thing, since everything | ||
* else is executed once the app has been booted, and changing | ||
* the node env will have no impact. | ||
*/ | ||
if (process.argv.slice(2)[0] === 'test') { | ||
process.env.NODE_ENV = 'testing' | ||
} | ||
this.loadCommands() | ||
@@ -579,0 +592,0 @@ await this.fire() |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31042
880
8