mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-09-21 19:29:29 +08:00
Minor text modifications
This commit is contained in:
@@ -219,10 +219,10 @@ data VariableState = Dead Id String | Alive deriving (Show, Eq)
|
|||||||
|
|
||||||
leadType t =
|
leadType t =
|
||||||
case t of
|
case t of
|
||||||
T_DollarExpansion _ _ -> SubshellScope "$(..)"
|
T_DollarExpansion _ _ -> SubshellScope "$(..) expansion"
|
||||||
T_Backgrounded _ _ -> SubshellScope "backgrounding &"
|
T_Backgrounded _ _ -> SubshellScope "backgrounding &"
|
||||||
T_Subshell _ _ -> SubshellScope "(..) group"
|
T_Subshell _ _ -> SubshellScope "(..) group"
|
||||||
-- This considers the pipeline one subshell. Consider fixing.
|
-- This considers the whole pipeline one subshell. Consider fixing.
|
||||||
T_Pipeline _ (_:_:[]) -> SubshellScope "pipeline"
|
T_Pipeline _ (_:_:[]) -> SubshellScope "pipeline"
|
||||||
_ -> NoneScope
|
_ -> NoneScope
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user