diff --git a/tools/transform.js b/tools/transform.js index 13268f9b..65b12ab6 100755 --- a/tools/transform.js +++ b/tools/transform.js @@ -128,7 +128,7 @@ function transformV2V3(source, version) { const result = xalan("V2-to-V4-CSDL.xsl", "-IN", source, "-OUT", target); - if (result.stderr.length) console.error(result.stderr.toString()); + if (result.stderr.length) console.log(result.stderr.toString()); if (result.status !== 0) process.exit(1); transformV4(target, version, true); @@ -160,7 +160,7 @@ function transformV4(source, version, deleteSource) { const result = xalan("V4-CSDL-to-OpenAPI.xsl", ...params); - if (result.stderr.length) console.error(result.stderr.toString()); + if (result.stderr.length) console.log(result.stderr.toString()); if (result.status !== 0) process.exit(1); if (argv.values.pretty || argv.values["used-schemas-only"]) {