-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix windows generation through vscode always outputting to the root w…
…orkspace directory if the path was ../ (#1247) The issue for windows is that `g.output_dir` is always /baml_client when the user set it to `../`. Rather than have rust try to do fancy things like resolve the output directory (which doesn't seem to work in wasm in windows), give VSCode the relative path to baml_src, since vscode can build it from the project.path <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Fixes file generation path issue in `baml_project_manager.ts` and updates `dunce` package version in `Cargo.lock`. > > - **Behavior**: > - Fixes file generation path issue in `baml_project_manager.ts` by using `output_dir_relative_to_baml_src` for output directory. > - Logs output directory paths for debugging. > - **Dependencies**: > - Updates `dunce` package version from `1.0.4` to `1.0.5` in `Cargo.lock`. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup> for 594a4cd. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
- Loading branch information
Showing
4 changed files
with
20 additions
and
8 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters