mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-03-18 04:29:08 +00:00
fix JS default ot ES6 (#2084)
This commit is contained in:
@@ -215,7 +215,7 @@ public class JavascriptClientCodegen extends DefaultCodegen implements CodegenCo
|
||||
if (additionalProperties.containsKey(USE_ES6)) {
|
||||
setUseES6(convertPropertyToBooleanAndWriteBack(USE_ES6));
|
||||
} else {
|
||||
setUseES6(false); // default to ES5
|
||||
setUseES6(true); // default to ES6
|
||||
}
|
||||
super.processOpts();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user