Skip to content

Commit

Permalink
Merge pull request #16 from mschuchard/patch-1
Browse files Browse the repository at this point in the history
fixing typo in exec form error message
  • Loading branch information
reinerj committed Nov 15, 2016
2 parents 10372c3 + 63a7d99 commit bac7ef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/checks.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ exports.json_array_format = (rules) ->
for i in [ 'CMD', 'ENTRYPOINT', 'RUN', 'VOLUME' ]
rule = this.getAll(i, rules)
for r in rule
errmsg = "Arguments to #{i} in exec for must not contain single quotes on line #{r.line}"
errmsg = "Arguments to #{i} in exec form must not contain single quotes on line #{r.line}"
for argument in r.arguments
# Check if we're dealing with Array notation
if argument.match /\[.*\]/
Expand Down

0 comments on commit bac7ef2

Please sign in to comment.