fix url for node docs

This commit is contained in:
Ahmed El Gabri 2016-10-01 14:09:11 +02:00
parent 4f19700919
commit 74d680bdb1
No known key found for this signature in database
GPG key ID: AC977998CD4ACABB

View file

@ -11,4 +11,4 @@ if [[ -z "$BROWSER" ]]; then
fi
# TODO: Make the sections easier to use.
"$BROWSER" "http://nodejs.org/docs/$(node --version | sed 's/-.*//')/api/all.html#${1}"
"$BROWSER" "http://nodejs.org/docs/$(node --version | sed 's/-.*//')/api/${1}.html"