Skip to content

Commit

Permalink
fix: yarn cache path should be a string (#1679)
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthab authored Mar 2, 2020
1 parent 9586bf6 commit a43809b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/npm_install/npm_install.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ def _yarn_install_impl(repository_ctx):

yarn_args = []
if not repository_ctx.attr.use_global_yarn_cache:
yarn_args.extend(["--cache-folder", repository_ctx.path("_yarn_cache")])
yarn_args.extend(["--cache-folder", str(repository_ctx.path("_yarn_cache"))])
else:
# Multiple yarn rules cannot run simultaneously using a shared cache.
# See https://github.com/yarnpkg/yarn/issues/683
Expand Down

0 comments on commit a43809b

Please sign in to comment.