Commit cd0f3ce
committed
(PUP-9997) Remove dead code
The Puppet::Util::Reference.pdf method has been broken since 2012 due to
commit f0c9995, because it was calling
Puppet::Util.replace_file with 1 argumentm, but it takes 2, resulting
in:
$ puppet doc --mode pdf --reference type
creating pdf
Error: Could not run: wrong number of arguments (given 1, expected 2)
So delete the code and remove `pdf` as a valid reference doc mode.1 parent ee46e78 commit cd0f3ce
2 files changed
+2
-35
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
| 176 | + | |
181 | 177 | | |
182 | 178 | | |
183 | 179 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | 35 | | |
65 | 36 | | |
66 | 37 | | |
| |||
0 commit comments