Today I bumped into an interesting issue - having a variable (commit hash), that is in form of number in scientific notation (2445e120) being interpreted by spruce as a number instead of keeping is as a string.
I could not find a way how to force spruce to keep it as string.
Can you guide me on what is the best way to achieve the expected output?
Issue
Hello,
Today I bumped into an interesting issue - having a variable (commit hash), that is in form of number in scientific notation (
2445e120
) being interpreted byspruce
as a number instead of keeping is as a string.I could not find a way how to force
spruce
to keep it as string.Can you guide me on what is the best way to achieve the expected output?
Fix trials
Using grab
Content of
test.yaml
Command
Output
Expected Output
Using concat
Content of
test.yaml
Command
Output
Expected Output
Context
Spruce version: v1.31.0