File tree 1 file changed +0
-5
lines changed
1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -852,14 +852,12 @@ window.available_templates = async () => {
852
852
const files = await puter . fs . readdir ( baseRoute )
853
853
854
854
const hasTemplateFolder = files . find ( file => lowerCaseKeywords . includes ( file . name . toLowerCase ( ) ) )
855
- console . log ( hasTemplateFolder )
856
855
857
856
if ( ! hasTemplateFolder ) {
858
857
return [ ]
859
858
}
860
859
861
860
const hasTemplateFiles = await puter . fs . readdir ( baseRoute + "/" + hasTemplateFolder . name )
862
- console . log ( hasTemplateFiles )
863
861
864
862
if ( hasTemplateFiles . length == 0 ) {
865
863
return [ ]
@@ -868,8 +866,6 @@ window.available_templates = async () => {
868
866
let result = [ ]
869
867
870
868
hasTemplateFiles . forEach ( element => {
871
- console . log ( element )
872
-
873
869
const extIndex = element . name . lastIndexOf ( '.' ) ;
874
870
const name = extIndex === - 1
875
871
? element . name
@@ -882,7 +878,6 @@ window.available_templates = async () => {
882
878
883
879
const _path = path . join ( baseRoute , hasTemplateFolder . name , element . name ) ;
884
880
885
- console . log ( _path )
886
881
const itemStructure = {
887
882
path : _path ,
888
883
html : `${ extension . toUpperCase ( ) } ${ name } ` ,
You can’t perform that action at this time.
0 commit comments