Skip to content

Commit e4b9710

Browse files
committed
Removed dead code
1 parent b781452 commit e4b9710

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

src/main/groovy/com/github/jrubygradle/JRubyExec.groovy

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -170,26 +170,6 @@ class JRubyExec extends JavaExec {
170170
@Override
171171
List<String> getArgs() {
172172
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>
193173
}
194174

195175
@Override

0 commit comments

Comments
 (0)