Closed blaugold closed 3 years ago
Sneaky regression, I see the issue though, easy fix;
https://github.com/invertase/melos/blob/master/packages/melos/lib/src/common/utils.dart#L247-L248
Those 2 lines need to be wrapped in an if (key.startsWith('MELOS_')) { ... }
since only melos environment variables should be injected into the command. The _
env variable in your case is being injected
Fixed in 1.0.0-dev.1
(no other changes from 0.5.0-dev.X - we're just graduating to stable versioning that's all)
Somehow, all underscores in the arguments to
melos exec
are replaced with the path tomelos
:This is with version
0.5.0-dev.2
.It does not happen though when activating
melos
for local development at the tip of master (7e585250994a89d56c9c9116b1606b0ce8166428):But I can't see how the changes between those commits could affect this issue (https://github.com/invertase/melos/compare/2756d758710ede14f0871cb8915bcc2eb51a51ca...7e585250994a89d56c9c9116b1606b0ce8166428).