Skip to content

Commit

Permalink
Files without extension listed with file pattern "*"
Browse files Browse the repository at this point in the history
  • Loading branch information
zeldalegends committed May 6, 2023
1 parent 5835376 commit 283c429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/fs-file-lister.js
Expand Up @@ -61,7 +61,7 @@ module.exports = function(RED) {
node.stat = config.stat
node.showWarnings = config.showWarnings !== undefined ? config.showWarnings : true

if ( (node.pattern == '') || (node.pattern == '*') ) node.pattern = '*.*'
if (node.pattern == '') node.pattern = '*'
if (node.folders == '') node.folders = '*'


Expand Down

0 comments on commit 283c429

Please sign in to comment.