Skip to content

Commit

Permalink
Do not error on empty directory
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorgalvao committed Jun 12, 2024
1 parent a3d8451 commit 03e0980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Workflow/info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,7 @@ function dirContents(path) {
return $.NSFileManager.defaultManager
.contentsOfDirectoryAtURLIncludingPropertiesForKeysOptionsError(...arguments)
.js.map(p => p.path.js)
.js?.map(p => p.path.js) || []
}
// Main
Expand Down

0 comments on commit 03e0980

Please sign in to comment.