mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-16 10:03:08 -07:00
Separated formatters into multiple files.
This commit is contained in:
parent
72eeafe002
commit
67cfcfd206
11 changed files with 419 additions and 234 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue