console icon indicating copy to clipboard operation
console copied to clipboard

ConsoleExtension doesn't support `Nette\DI\Statement`

Open silen-z opened this issue 3 years ago • 0 comments

When using global functions in NEON config like: not(%debugMode%) they get created by DI as Nette\DI\Statement but here ConsoleExtension is casting them to bool which silently fails and evaulates to true regardless of the statement value

Version: 0.5.0

silen-z avatar Mar 28 '22 14:03 silen-z