Closed john-griffin closed 7 years ago
Hey @john-griffin,
thanks for this report. In my testing it didn't fail with this option, but maybe in your case it does, because it's empty 🤔
Do you know if there's a way to tell yarn what prefix to use? Otherwise we could just easily leave it off entirely for now.
The logic is located here: https://github.com/greenkeeperio/greenkeeper-lockfile/blob/master/lib/update-lockfile.js#L26
Best, Stephan
@boennemann thanks for quick response. I think if its empty then it would need to use the exact option https://yarnpkg.com/en/docs/cli/add#toc-yarn-add-exact-e.
There is also a tilde option https://yarnpkg.com/en/docs/cli/add#toc-yarn-add-tilde-t.
Couldn't find anything equivalent to save-prefix
.
@boennemann building the args as ${dependency.name}@${dependency.prefix}${dependency.version}
would work right?
@john-griffin What do you think about this one? https://github.com/greenkeeperio/greenkeeper-lockfile/pull/23
Just got first PR after initial config with greenkeeper-lockfile. This is the output from travis:
--save-prefix
does not appear to be a valid option for yarn.