mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-14 02:27:30 -07:00
Count ~/ as dynamic for resolving source paths.
This commit is contained in:
parent
8f5f91f041
commit
630f20e888
2 changed files with 8 additions and 1 deletions
|
@ -147,6 +147,9 @@ prop_canSourceBadSyntax =
|
|||
prop_cantSourceDynamic =
|
||||
[1090] == checkWithIncludes [("lib", "")] ". \"$1\""
|
||||
|
||||
prop_cantSourceDynamic2 =
|
||||
[1090] == checkWithIncludes [("lib", "")] "source ~/foo"
|
||||
|
||||
prop_canSourceDynamicWhenRedirected =
|
||||
null $ checkWithIncludes [("lib", "")] "#shellcheck source=lib\n. \"$1\""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue