Skip to content

Commit a1e3a7e

Browse files
Copilotlmajano
andauthored
Fix ternary scope: use unscoped cwd in getAppPrefix per CFML convention
Agent-Logs-Url: https://github.com/ColdBox/coldbox-cli/sessions/04af5f58-9949-47ba-a2d6-e374e82d64f8 Co-authored-by: lmajano <137111+lmajano@users.noreply.github.com>
1 parent c418cd0 commit a1e3a7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

models/BaseCommand.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ component accessors="true" {
2727
* @return string "app/" for modern layout, "" for flat layout
2828
*/
2929
function getAppPrefix( required cwd ){
30-
return variables.utility.detectTemplateType( arguments.cwd ) == "modern" ? "app/" : "";
30+
return variables.utility.detectTemplateType( cwd ) == "modern" ? "app/" : "";
3131
}
3232

3333
/**

0 commit comments

Comments
 (0)