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 ba74b62 commit 0e47dc8Copy full SHA for 0e47dc8
src/kscript
@@ -3,7 +3,7 @@
3
4
5
absolute_path() {
6
- # if the given path to the kscript launcher is abosulte (i.e. it is either starting with / or a
+ # if the given path to the kscript launcher is absolute (i.e. it is either starting with / or a
7
# 'letter:/' when using gitbash on windows) it is returned unchanged, otherwise we construct an absolute path
8
[[ $1 = /* ]] || [[ $1 =~ ^[A-z]:/ ]] && echo "$1" || echo "$PWD/${1#./}"
9
}
0 commit comments