Scott Norton
10/16/2025, 1:48 PMnf-core pipelines lint (Default parameters are invalid: '' should be non-empty)Nicolas Vannieuwkerke
10/16/2025, 1:54 PMScott Norton
10/16/2025, 1:55 PMNicolas Vannieuwkerke
10/16/2025, 1:55 PMNicolas Vannieuwkerke
10/16/2025, 1:56 PMArthur
10/16/2025, 4:40 PMlint but I don't know for sure.
I'm currently on a holiday but it should be simple to set up an mvp to check which stage this is occurring.
A simple workflow that does println "${<http://params.space|params.space>}"
Then run it with:
• just set the default value in config as " "
• a default set in schema and using nf-schema
If these both print a space as intended then the issue would appear to lie in the toolingArthur
10/16/2025, 11:43 PMArthur
10/16/2025, 11:47 PMif isinstance(param["default"], str) and param["default"].strip() == "":
param["default"] = ""
return param
This is the code that tools uses when it sanitises the defaultsNicolas Vannieuwkerke
10/17/2025, 8:10 AM