File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
src/main/groovy/com/github/jrubygradle Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -170,26 +170,6 @@ class JRubyExec extends JavaExec {
170
170
@Override
171
171
List<String > getArgs () {
172
172
JRubyExecUtils . buildArgs(jrubyArgs,script,scriptArgs)
173
- // def cmdArgs = []
174
- //
175
- // boolean useBinPath = jrubyArgs.contains('-S')
176
- // cmdArgs.addAll(jrubyArgs)
177
- //
178
- // if(script!=null && !useBinPath) {
179
- // if(!script.exists()) {
180
- // throw new InvalidUserDataException("${script} does not exist")
181
- // }
182
- // cmdArgs.add(script.absolutePath)
183
- // } else if(script!=null && useBinPath ) {
184
- // if(script.isAbsolute() && !script.exists()) {
185
- // throw new InvalidUserDataException("${script} does not exist")
186
- // }
187
- // cmdArgs.add(script.toString())
188
- // } else if(script==null && jrubyArgs.size() == 0 ) {
189
- // throw new InvalidUserDataException('Cannot instantiate a JRubyExec instance without either `script` or `jrubyArgs` set')
190
- // }
191
- // cmdArgs.addAll(scriptArgs)
192
- // cmdArgs as List<String>
193
173
}
194
174
195
175
@Override
You can’t perform that action at this time.
0 commit comments