mirror of
https://github.com/kevin-DL/revel-cmd.git
synced 2026-01-16 04:34:37 +00:00
Get testrunner's path from config
This commit is contained in:
@@ -62,7 +62,7 @@ func testApp(args []string) {
|
||||
// Ensure that the testrunner is loaded in this mode.
|
||||
testRunnerFound := false
|
||||
for _, module := range revel.Modules {
|
||||
if module.ImportPath == "github.com/revel/modules/testrunner" {
|
||||
if module.ImportPath == revel.Config.StringDefault("module.testrunner", "github.com/revel/modules/testrunner") {
|
||||
testRunnerFound = true
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user