Skip to content

Commit e611b76

Browse files
author
mkefd
committed
mappersmith
1 parent 99fcb22 commit e611b76

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

bin/index.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,15 @@ const params = program
2828
.opts();
2929

3030
if (params.client === 'mappersmith' && params.name === undefined) {
31-
console.error('Error: --name option is required for mappersmith client');
31+
console.error('ERROR: --name option is required for mappersmith client');
3232
process.exit(1);
3333
}
3434

35+
if (params.client === 'mappersmith') {
36+
console.log('INFO: --exportServices is forced to be false mappersmith client');
37+
params.exportServices = false;
38+
}
39+
3540
const OpenAPI = require(path.resolve(__dirname, '../dist/index.js'));
3641

3742
if (OpenAPI) {

0 commit comments

Comments
 (0)