* treat nfo/url files the same
This commit is contained in:
parent
a695c4df54
commit
8b172432f9
|
@ -243,7 +243,7 @@ def include(String input, Map bindings = [:], Object... args) {
|
||||||
bindings.args = (args as List).flatten().findResults{ it as File }
|
bindings.args = (args as List).flatten().findResults{ it as File }
|
||||||
|
|
||||||
// run given script and catch exceptions
|
// run given script and catch exceptions
|
||||||
_guarded { _shell.runScript(input, new javax.script.SimpleBindings(bindings)) }
|
_guarded { _shell.runScript(input, new javax.script.SimpleBindings(bindings ?: [:])) }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
</type>
|
</type>
|
||||||
<type name="application/nfo">
|
<type name="application/nfo">
|
||||||
<extension>nfo</extension>
|
<extension>nfo</extension>
|
||||||
|
<extension>url</extension>
|
||||||
</type>
|
</type>
|
||||||
|
|
||||||
<!-- Verification -->
|
<!-- Verification -->
|
||||||
|
|
Loading…
Reference in New Issue