Check the ng version properly

pull/30/head
kirinokirino 8 months ago
parent db01332c15
commit 825e33e33d

@ -46,6 +46,9 @@ def check_exec(name: str) -> bool:
if shut.which(name) is None:
print('{} not found'.format(name))
return False
if name is "ng":
exec('ng version')
else:
exec('{} --version'.format(name))
return True

Loading…
Cancel
Save