You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In flox init, we're using a template manifest.toml with identifiers to substitute. But if we're going to programmatically edit the file, we should just use toml_edit
AC:
Use toml_edit instead of String::replace in flox init
The text was updated successfully, but these errors were encountered:
…1333)
## Proposed Changes
<!-- Describe the changes proposed in this pull request. -->
<!-- Please provide links to any issue(s) which are expected to be
resolved. -->
This PR replaces uses of `String::replace` for editing and populating
placeholders in `manifest.toml` to use `toml_edit` instead.
Closes#1064.
## Release Notes
N/A.
<!-- Describe any user facing changes. Use "N/A" if not applicable. -->
<!-- Many thanks! -->
---------
Co-authored-by: Matthew Kenigsberg <matthew@floxdev.com>
Co-authored-by: Yannik Sander <7040031+ysndr@users.noreply.github.com>
Co-authored-by: Dan Carley <dan.carley@gmail.com>
Co-authored-by: Alex Ameen <alex.ameen.tx@gmail.com>
In
flox init
, we're using a templatemanifest.toml
with identifiers to substitute. But if we're going to programmatically edit the file, we should just usetoml_edit
AC:
toml_edit
instead ofString::replace
inflox init
The text was updated successfully, but these errors were encountered: