Skip to content

Commit

Permalink
Add missing semicolon (terkelg#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Nov 20, 2020
1 parent cbc19bd commit c3c5dbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ module.exports = function (str, opts={}) {
try {
let resolved = resolve(opts.cwd, str);
let dirent = fs.statSync(resolved);
if (opts.filesOnly && !dirent.isFile()) return []
if (opts.filesOnly && !dirent.isFile()) return [];

return opts.absolute ? [resolved] : [str];
} catch (err) {
Expand Down

0 comments on commit c3c5dbc

Please sign in to comment.