Repository navigation
Commit e2ba1ac
committed
PluginInfo script; use ruby blocks
Putting the File.open statements in blocks ensures the files are closed
even if a problem occurs during processing.
See scijava/incubator#12 (comment)
Thanks @imagejan!1 parent b817b59 commit e2ba1ac
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
0 commit comments