How to reproduce
- Download the cadl project I used.
npm install
npx cadl compile . --emit @azure-tools/cadl-java --arg "java-repo-folder=/tmp/java"
Result
The codes are generated in {cwd}/azure-sdk-for-java.
Expected
The codes should be generated in /tmp/java.
Other Issue:
In the cadl-project.yaml, you can find the value of emitter-output-dir is surrounded by double quotes. If I delete the double quotes, the cadl reports error: bad indentation of a mapping entry (6:45)
How to reproduce
npm installnpx cadl compile . --emit @azure-tools/cadl-java --arg "java-repo-folder=/tmp/java"Result
The codes are generated in
{cwd}/azure-sdk-for-java.Expected
The codes should be generated in
/tmp/java.Other Issue:
In the
cadl-project.yaml, you can find the value ofemitter-output-diris surrounded by double quotes. If I delete the double quotes, the cadl reports error:bad indentation of a mapping entry (6:45)