Browse files

Merge pull request #116 from dsklyut/master

GrailsInteractiveCompletor - use Resource.getFileName vs. Resource.getFile.getName
  • Loading branch information...
2 parents 00a988b + 92ebc72 commit c56838423a74127b8ba1e5e5ddf8114001ebed51 @graemerocher graemerocher committed Nov 11, 2011
View
2 .../main/groovy/org/codehaus/groovy/grails/cli/interactive/GrailsInteractiveCompletor.groovy
@@ -80,7 +80,7 @@ class GrailsInteractiveCompletor extends SimpleCompletor {
}
static String[] getScriptNames(scriptResources) {
- final scriptNames = scriptResources.collect { GrailsNameUtils.getScriptName(it.file.name) }
+ final scriptNames = scriptResources.collect { GrailsNameUtils.getScriptName(it.filename) }
scriptNames.remove('create-app')
scriptNames << "open"
scriptNames as String[]

0 comments on commit c568384

Please sign in to comment.