diff --git a/src/modules/punk/mix-0.2.tm b/src/modules/punk/mix-0.2.tm index fdf859d9..e75ac53b 100644 --- a/src/modules/punk/mix-0.2.tm +++ b/src/modules/punk/mix-0.2.tm @@ -423,8 +423,8 @@ namespace eval punk::mix::cli { set testdir [pwd] - if {![string length [set projectdir [punk::repo::find_project_root $testdir]]]} { - if {![string length [set projectdir [punk::repo::find_candidate_root $testdir]]]} { + if {![string length [set projectdir [punk::repo::find_project $testdir]]]} { + if {![string length [set projectdir [punk::repo::find_candidate $testdir]]]} { error "newmodule unable to create module in projectdir:$projectdir - directory doesn't appear to meet basic standards (/src, src/modules, src/lib & /modules must exist, must not be a system path such as /usr/bin or c:/windows)" } }