Commit 392e60d6 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

fix(envsubst): leave lines with '# nosubst' unchanged when substituting (used to be simply dropped)

parent 7ac9bb27
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -470,7 +470,11 @@ stages:
        }
        return enc
      }
      !/# *nosubst/ {
      /# *nosubst/ {
        print $0
        next
      }
      {
        orig_line = $0
        line = $0
        count_repl_in_line = 0