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 99fcb22 commit e611b76Copy full SHA for e611b76
bin/index.js
@@ -28,10 +28,15 @@ const params = program
28
.opts();
29
30
if (params.client === 'mappersmith' && params.name === undefined) {
31
- console.error('Error: --name option is required for mappersmith client');
+ console.error('ERROR: --name option is required for mappersmith client');
32
process.exit(1);
33
}
34
35
+if (params.client === 'mappersmith') {
36
+ console.log('INFO: --exportServices is forced to be false mappersmith client');
37
+ params.exportServices = false;
38
+}
39
+
40
const OpenAPI = require(path.resolve(__dirname, '../dist/index.js'));
41
42
if (OpenAPI) {
0 commit comments