mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-06 21:11:35 -07:00
Minor renaming and output fixes
This commit is contained in:
parent
5ed89d2241
commit
a8376a09a9
4 changed files with 57 additions and 28 deletions
|
@ -49,7 +49,8 @@ module ShellCheck.Interface
|
|||
, emptyCheckSpec
|
||||
, newPositionedComment
|
||||
, newComment
|
||||
, Fix
|
||||
, Fix(fixReplacements)
|
||||
, newFix
|
||||
, Replacement(repStartPos, repEndPos, repString)
|
||||
, newReplacement
|
||||
) where
|
||||
|
@ -209,7 +210,13 @@ newReplacement = Replacement {
|
|||
repString = ""
|
||||
}
|
||||
|
||||
type Fix = [Replacement]
|
||||
data Fix = Fix {
|
||||
fixReplacements :: [Replacement]
|
||||
} deriving (Show, Eq)
|
||||
|
||||
newFix = Fix {
|
||||
fixReplacements = []
|
||||
}
|
||||
|
||||
data PositionedComment = PositionedComment {
|
||||
pcStartPos :: Position,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue