Skip to content

Commit

Permalink
Merge pull request #56 from hadolint/parse-dst
Browse files Browse the repository at this point in the history
Parse dst modifier correctly
  • Loading branch information
lorenzo committed Jun 5, 2020
2 parents f6654e1 + 8680a37 commit 52fa625
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions language-docker.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ cabal-version: 1.12
--
-- see: https://github.com/sol/hpack
--
-- hash: ead90f9d8a8521aaa2655fc03070f462119ea0218d8ab0aa42c04fc065f55856
-- hash: ba9067e3ceb04237246263c98a2c1d9e876839f8212ee319e48c05670b47861f

name: language-docker
version: 9.1.0
version: 9.1.1
synopsis: Dockerfile parser, pretty-printer and embedded DSL
description: All functions for parsing and pretty-printing Dockerfiles are exported through @Language.Docker@. For more fine-grained operations look for specific modules that implement a certain functionality.
See the <https://github.com/hadolint/language-docker GitHub project> for the source-code and examples.
Expand Down
2 changes: 1 addition & 1 deletion package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: language-docker
version: '9.1.0'
version: '9.1.1'
synopsis: Dockerfile parser, pretty-printer and embedded DSL
description: 'All functions for parsing and pretty-printing Dockerfiles are
exported through @Language.Docker@. For more fine-grained operations look for
Expand Down
2 changes: 1 addition & 1 deletion src/Language/Docker/Parser/Run.hs
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ mountArgSource = do

mountArgTarget :: Parser RunMountArg
mountArgTarget = do
label "target=" $ choice [string "target=", string "dest=", string "destination="]
label "target=" $ choice [string "target=", string "dst=", string "destination="]
MountArgTarget . TargetPath <$> stringArg

mountArgUid :: Parser RunMountArg
Expand Down

0 comments on commit 52fa625

Please sign in to comment.