Skip to content

Commit

Permalink
allow symlinks to plugins in generate.js
Browse files Browse the repository at this point in the history
  • Loading branch information
soad003 committed Feb 14, 2024
1 parent 53123c5 commit e279833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const { execSync } = require("child_process");

const isDir = fileName => {
try {
return fs.lstatSync(fileName).isDirectory();
return fs.lstatSync(fileName).isDirectory() || fs.lstatSync(fileName).isSymbolicLink();
} catch(e) {
if (e.code === 'ENOENT') {
return false
Expand Down

0 comments on commit e279833

Please sign in to comment.