From cae8881fe9eb31a36b11d48beab085c7d76d7074 Mon Sep 17 00:00:00 2001 From: Mohammad Fares Date: Sat, 1 Sep 2018 17:01:04 +0300 Subject: [PATCH] Support symbolic link for importing files --- utility.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utility.js b/utility.js index f60d9a3..3b57097 100644 --- a/utility.js +++ b/utility.js @@ -17,7 +17,7 @@ function isFile(filePath) { try { - return di.fs.lstatSync(filePath).isFile(); + return di.fs.statSync(filePath).isFile(); } catch (error) {