Skip to content

Commit

Permalink
fix code typos
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Jul 6, 2024
1 parent a2df83e commit 0db274f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions api/data/DocTree.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -332,9 +332,9 @@ component accessors=true {
variables.tree.append( arguments.page );
}

if ( !isPage ){
if ( page.getPath() comtains "/recipes" ){
request.logger(text="skipping coz /recipes" );
if ( not isPage ){
if ( arguments.page.getPath() contains "/recipes" ) {
request.logger( text="skipping coz /recipes" );
return;
}
throw "not a page [#page.path#]"; // only add main pages
Expand Down
2 changes: 1 addition & 1 deletion build-all.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
if ( fileExists( docsZipFile ) )
fileDelete( docsZipFile );
if (directoryExists( "builds/artifacts") ){
directoryDelete(" builds/artifacts", true);
directoryDelete("builds/artifacts", true);
}
include template="import.cfm";
include template="build.cfm";
Expand Down

0 comments on commit 0db274f

Please sign in to comment.