Skip to content

Commit

Permalink
slight simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
bmacnaughton committed Nov 29, 2023
1 parent fcb91bf commit cd04ef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action-walk.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ async function walk (dir, options = {}) {
let linkAction;
let otherAction;
let stat;
if (options.stat === 'stat' || options.stat === 'lstat') {
if (options.stat === 'lstat') {
stat = options.stat;
} else if (options.stat) {
stat = 'stat';
Expand Down

0 comments on commit cd04ef2

Please sign in to comment.