mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 14:24:16 +02:00
sketch
This commit is contained in:
6
bauh/gems/web/npm.py
Normal file
6
bauh/gems/web/npm.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from bauh.commons.system import run_cmd
|
||||
|
||||
|
||||
def is_available() -> bool:
|
||||
res = run_cmd('which npm', print_error=False)
|
||||
return res and not res.strip().startswith('which ')
|
||||
Reference in New Issue
Block a user