Preprocessing library language-dockerfile-0.3.4.0...
[ 1 of 15] Compiling Paths_language_dockerfile ( dist/build/autogen/Paths_language_dockerfile.hs, dist/build/Paths_language_dockerfile.o )
[ 2 of 15] Compiling Language.Dockerfile.Bash ( src/Language/Dockerfile/Bash.hs, dist/build/Language/Dockerfile/Bash.o )
src/Language/Dockerfile/Bash.hs:9:20: error:
• The constructor ‘PositionedComment’ should have 3 arguments, but has been given 2
• In the pattern: PositionedComment _ c
In an equation for ‘comment’: comment (PositionedComment _ c) = c
In an equation for ‘shellcheck’:
shellcheck bashScript
= map comment $ crComments $ runIdentity $ checkScript si spec
where
comment (PositionedComment _ c) = c
si = mockedSystemInterface [("", "")]
spec = CheckSpec filename script exclusions (Just Bash)
script = "#!/bin/bash\n" ++ bashScript
....
Ping @yamadapc