shellcheck-1

ShellCheck warned for a non-assigned variable due to nesting and a pattern match, despite correct snytax. The fix is to filter for sub-processes.

ghc-version: 9.2.4

hasbugs-version: 1.0.0

license: GPL3

build-framework: stack

Repository
Test Frameworks:
GitHub Artifacts :

Faults @9008a683

[
  {
    "endline": 675,
    "file": "src/ShellCheck/AnalyzerLib.hs",
    "function": "getModifiedVariableCommand",
    "module": "ShellCheck.AnalyzerLib",
    "startline": 675
  }
]

Fixes @fdd02c94

[
  {
    "endline": 676,
    "file": "src/ShellCheck/AnalyzerLib.hs",
    "function": "getModifiedVariableCommand",
    "module": "ShellCheck.AnalyzerLib",
    "startline": 676
  },
  {
    "endline": 683,
    "file": "src/ShellCheck/AnalyzerLib.hs",
    "function": "getModifiedVariableCommand",
    "module": "ShellCheck.AnalyzerLib",
    "startline": 681
  }
]