Support symbolic link for importing files
This commit is contained in:
parent
92c81f4efc
commit
cae8881fe9
|
@ -17,7 +17,7 @@ function isFile(filePath) {
|
|||
|
||||
try {
|
||||
|
||||
return di.fs.lstatSync(filePath).isFile();
|
||||
return di.fs.statSync(filePath).isFile();
|
||||
|
||||
} catch (error) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue