Skip to content

Commit 70a8efa

Browse files
authored
Merge pull request #27 from gpickin/patch-1
WIP - API Install tweaks
2 parents 2e4f386 + e0ee402 commit 70a8efa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

commands/coldbox/create/app.cfc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ component extends="coldbox-cli.models.BaseCommand" {
386386
var newConfig = fileRead( arguments.directory & "app/config/Coldbox.bx" )
387387
.replace( "Main.index", "Echo.index" )
388388
.replace( "Main.onException", "Echo.onError" );
389-
fileWrite( "app/config/Coldbox.bx", newConfig );
389+
fileWrite( arguments.directory & "app/config/Coldbox.bx", newConfig );
390390

391391
// Install CommandBox Modules
392392
printInfo( "🥊 Installing ColdBox API Production Modules: Security, Mementifier, Validation" )
@@ -395,9 +395,9 @@ component extends="coldbox-cli.models.BaseCommand" {
395395
printInfo( "🥊 Installing ColdBox API Development Modules: route-visualizer,relax" )
396396
command( "install" )
397397
.params(
398-
"cbsecurity,mementifier,cbvalidation",
399-
"--saveDev"
398+
"route-visualizer,relax",
400399
)
400+
.flags( 'saveDev' )
401401
.run();
402402

403403
printSuccess( "✅ REST API setup complete!" )

0 commit comments

Comments
 (0)