There was an error while loading. Please reload this page.
2 parents 37da694 + 060b047 commit 4ee2c0cCopy full SHA for 4ee2c0c
1 file changed
src/wslview.sh
@@ -98,11 +98,12 @@ if [[ "$lname" != "" ]]; then
98
properfile_full_path="$(readlink -f "${lname}")"
99
fi
100
debug_echo "properfile_full_path: $properfile_full_path"
101
- debug_echo "validating whether if it is a link"
102
- is_valid_url=$(url_validator "$lname")
103
if [ "$skip_validation_check" -eq 0 ]; then
104
debug_echo "Skipping validation check"
105
is_valid_url=0
+ else
+ debug_echo "Validating whether if it is a link"
106
+ is_valid_url=$(url_validator "$lname")
107
108
if [[ "$is_valid_url" -eq 0 ]] && [ -z "$properfile_full_path" ]; then
109
debug_echo "It is a link"
0 commit comments