Commit ca39db9
committed
Add Rubocop ignore for Style/FileOpen cop
According to Rubocop the issue here is:
`File.open` without a block may leak a file descriptor; use the block form.
However, in this case it's a very specific set of tests that require
multiple files to be opened so the data can be loaded from static
fixture files. The files are closed afterwards, so I've decided to
ignore the cop in this instance1 parent 0633159 commit ca39db9
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | | - | |
| 239 | + | |
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
| |||
0 commit comments