mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
chore(docs): get correct location for jasmine-node
This commit is contained in:
parent
ca30fce28c
commit
a9be003fce
1 changed files with 2 additions and 3 deletions
|
|
@ -1,10 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
JASMINE_NODE='jasmine-node'
|
JASMINE_NODE='jasmine-node'
|
||||||
if ! type -p "$JASMINE_NODE" >/dev/null 2>&1;then
|
local_jasmine='./node_modules/.bin/jasmine-node'
|
||||||
# Locally (npm)-installed jasmine-node
|
|
||||||
local_jasmine='./node_modules/.bin/jasmine-node'
|
|
||||||
|
|
||||||
|
if ! type -p "$JASMINE_NODE" >/dev/null 2>&1;then
|
||||||
if [[ -x "$local_jasmine" ]];then
|
if [[ -x "$local_jasmine" ]];then
|
||||||
JASMINE_NODE="$local_jasmine"
|
JASMINE_NODE="$local_jasmine"
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue