allow-scripts: config reader does not normalize paths #993
Labels
bug
Something isn't working
pkg:@lavamoat/allow-scripts
Changes in package @lavamoat/allow-scripts
windows
windows-specific
The configuration for
allow-scripts
withinpackage.json
does no normalization of the path, e.g.:This is passed verbatim, even if the platform is
win32
. The above path is invalid on Windows. It may be processed properly at some point, but it is inconsistent at best. Currently, forallow-scripts
to work equivalently on a Windows machine, the consumer would need to change the option to:Seems like a non-starter to me 😜
The text was updated successfully, but these errors were encountered: