[Bug]: Specs can fail to load examples when compiled from outside spec folder #1173
Closed
4 tasks done
Labels
deprecation
A previously supported feature will now report a warning and eventually be removed
emitter:autorest
Issues for @azure-tools/typespec-autorest emitter
feature
New feature or request
Milestone
Describe the bug
Specs can fail to load examples when compiled from outside the spec folder (e.g.
tsp compile path/to/spec
), but succeed when compiled from inside the spec folder (e.g.cd path/to/spec; tsp compile .
).Related: microsoft/typespec#2241, https://github.com/Azure/typespec-azure-pr/issues/3182
Reproduction
Checklist
The text was updated successfully, but these errors were encountered: