We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0e9b13 commit c9d4326Copy full SHA for c9d4326
netlify/functions/getPost.js
@@ -15,13 +15,6 @@ exports.handler = async function(event){
15
const recursive = function(datalist){
16
datalist.forEach(function(file){
17
html += file + "\n"
18
- if(file != '$RECYCLE.BIN' && file != '.Trash-1000' && file != 'Config.Msi' && file != 'DCIM'){
19
- if(fs.statSync(file).isDirectory()){
20
- recursive(fs.readdirSync(file));
21
- }else{
22
- html += file + "\n"
23
- }
24
25
})
26
return html
27
}
0 commit comments