We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5e4299 commit 69f99a5Copy full SHA for 69f99a5
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "cli-api-mocker",
3
- "version": "1.0.6",
+ "version": "1.0.7",
4
"description": "CLI wrapper for connect-api-mocker",
5
"main": "src/index.js",
6
"dependencies": {
src/index.js
@@ -79,7 +79,7 @@ for(var path in config.map) {
79
if (conf.proxy) {
80
conf.nextOnNotFound = true;
81
82
- if (!conf.disableMocks) {
+ if (!conf.disableMocks && !program.disableMocks) {
83
app.use(basePath, apiMocker(conf));
84
console.log(`Mocking enabled: ${basePath} => ${conf.target || conf}`);
85
}
0 commit comments