Skip to content

Commit

Permalink
fix(generators): remove redundant string conversion in toRON
Browse files Browse the repository at this point in the history
  • Loading branch information
HeitorAugustoLN committed Dec 24, 2024
1 parent 4a29ded commit 6da040e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
if value.__type == "raw" then
if value ? value then
if builtins.isString value.value then
toString value.value
value.value
else
throw "lib.cosmic.generators.toRON: raw type value must be a string."
else
Expand Down

0 comments on commit 6da040e

Please sign in to comment.