stringToLua also accepts a path as input.
This commit is contained in:
parent
feaaf56e54
commit
421e9cf4fa
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ let
|
|||
*/
|
||||
stringToLua =
|
||||
string:
|
||||
assert builtins.isString string;
|
||||
assert (builtins.isString string || builtins.isPath string);
|
||||
''"${string}"'';
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue