We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87e6982 commit 176ffd7Copy full SHA for 176ffd7
tools/deno.sh
@@ -1,24 +1,22 @@
1
#!/bin/zsh -e
2
3
-denoPath=`which deno`
4
-
5
info() {
6
- if [ -f ${denoPath} ]; then
+ if [ -x "$(command -v deno)" ]; then
7
echo
8
deno --version
9
which deno
10
11
else
12
- echo "Not installed"
13
- fi
+ echo "Not installed or not in PATH"
+ fi
14
}
15
16
whoami() {
17
return
18
19
20
install() {
21
- echo "TODO: implement"
+ brew install deno
22
23
24
"$@"
0 commit comments