mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-09 06:12:13 +08:00
Separated formatters into multiple files.
This commit is contained in:
@@ -372,7 +372,10 @@ producesComments f s = do
|
||||
root <- prRoot pResult
|
||||
return . not . null $ runList (defaultSpec root) [f]
|
||||
where
|
||||
pSpec = ParseSpec { psScript = s }
|
||||
pSpec = ParseSpec {
|
||||
psFilename = "script",
|
||||
psScript = s
|
||||
}
|
||||
pResult = runIdentity $ parseScript (mockedSystemInterface []) pSpec
|
||||
|
||||
-- Copied from https://wiki.haskell.org/Edit_distance
|
||||
|
Reference in New Issue
Block a user