File: puppet-lint-line.diff

package info (click to toggle)
phabricator 0~git20200925-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 75,084 kB
  • sloc: php: 591,483; javascript: 27,983; sql: 19,567; ansic: 3,624; yacc: 2,506; sh: 761; xml: 503; lex: 488; python: 334; cpp: 224; makefile: 179; sed: 66
file content (16 lines) | stat: -rw-r--r-- 745 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
This removes the deprecated %{linenumber} from puppet-lint
according to https://github.com/rodjek/puppet-lint/issues/539.
Debian bugreport #878157.
Index: phabricator-0~git20170812/arcanist/src/lint/linter/ArcanistPuppetLintLinter.php
===================================================================
--- phabricator-0~git20170812.orig/arcanist/src/lint/linter/ArcanistPuppetLintLinter.php
+++ phabricator-0~git20170812/arcanist/src/lint/linter/ArcanistPuppetLintLinter.php
@@ -56,7 +56,7 @@ final class ArcanistPuppetLintLinter ext
     return array(
       '--error-level=all',
       sprintf('--log-format=%s', implode('|', array(
-        '%{linenumber}',
+        '%{line}',
         '%{column}',
         '%{kind}',
         '%{check}',