You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
source <(curl -s https://raw.githubusercontent.com/joergi/downloader/master/linux_mac/downloader.sh) "$downloadUrl" "$recentIssue" "$@"
^-- SC1091: Not following: https://raw.githubusercontent.com/joergi/downloader/master/linux_mac/downloader.sh was not specified as input (see shellcheck -x).
This is now showing SC1091 - but if I don't have the # shellcheck source=https://raw.githubusercontent.com/joergi/downloader/master/linux_mac/downloader.sh, I got the SC1090
Here's what I wanted or expected to see:
I wanted to know, if I should ignore the one with # shellcheck disable=SC1090 of if there is a possibility to check it, even it is a remote file.
The text was updated successfully, but these errors were encountered:
joergi
changed the title
SC1090 - Can't follow non-constant source. Use a directive to specify location.
SC1090 - how to follow a remote file?
Jul 12, 2020
SC1090 - Can't follow non-constant source. Use a directive to specify location.
I understand, that if I load a file in a another directory, I have to specify it, as mentioned here
If you see my pull request, I load a script from another github repository.
I haven't seen anything in the documentation, how to follow a remote file.
Here's what shellcheck currently says:
This is now showing SC1091 - but if I don't have the
# shellcheck source=https://raw.githubusercontent.com/joergi/downloader/master/linux_mac/downloader.sh
, I got the SC1090Here's what I wanted or expected to see:
I wanted to know, if I should ignore the one with
# shellcheck disable=SC1090
of if there is a possibility to check it, even it is a remote file.The text was updated successfully, but these errors were encountered: