Skip to content
Snippets Groups Projects
Commit 8852fc9f authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Merge branch '5-install-broken-with-newer-yarn-versions-at-least-4-x' into 'master'

Resolve "Install broken with newer Yarn versions (at least 4.x)"

Closes #5

See merge request !10
parents 97d947af 699246f4
No related branches found
No related tags found
1 merge request!10Resolve "Install broken with newer Yarn versions (at least 4.x)"
Pipeline #164897 failed
Version 6.1.1 (2024-02-09)
=====================================================
* Fix compatibility with Yarn 4.x
Version 6.1.0 (2023-02-19)
=====================================================
......
......@@ -35,6 +35,7 @@ class YarnAdapter(object):
def install(self, packages, *options):
"""Install packages from yarn"""
self.call_yarn(["init", "--yes"])
return self.call_yarn(['add'] + list(options) + list(packages))
def _accumulate_dependencies(self, data):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment