Skip to content

Commit

Permalink
Fix bug due to "npm bin" being removed since v9
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonuhan committed Feb 13, 2023
1 parent dbbc093 commit 62f51cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions altair_saver/savers/_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def npm_bin(global_: bool) -> str:
cmd = [npm, "bin"]
if global_:
cmd.append("--global")
cmd.append("--version")
return check_output_with_stderr(cmd).decode().strip()


Expand Down

0 comments on commit 62f51cb

Please sign in to comment.