mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-06 04:51:37 -07:00
Revert ""modified" -> "set" for subshell var messages"
Yeah no it was better before
This reverts commit d2b258434d
.
This commit is contained in:
parent
da8ab3322c
commit
c3f62aaad6
1 changed files with 2 additions and 2 deletions
|
@ -248,8 +248,8 @@ findSubshelled ((Reference (readId, str)):rest) scopes deadVars = do
|
|||
case Map.findWithDefault Alive str deadVars of
|
||||
Alive -> return ()
|
||||
Dead writeId -> do
|
||||
addNoteFor writeId $ Note InfoC $ str ++ " is here set inside a subshell, but is later used outside."
|
||||
addNoteFor readId $ Note InfoC $ str ++ " was last set in a subshell, and that change might be lost."
|
||||
addNoteFor writeId $ Note InfoC $ str ++ " is here modified inside a subshell, but is later used outside."
|
||||
addNoteFor readId $ Note InfoC $ str ++ " was last modified in a subshell, and that change might be lost."
|
||||
findSubshelled rest scopes deadVars
|
||||
|
||||
findSubshelled ((StackScope SubshellScope):rest) scopes deadVars =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue