diff --git a/src/node/utils/path_exists.js b/src/node/utils/path_exists.js index 18dc35270..0b4c8fe94 100644 --- a/src/node/utils/path_exists.js +++ b/src/node/utils/path_exists.js @@ -1,6 +1,7 @@ +'use strict'; const fs = require('fs'); -const check = function (path) { +const check = (path) => { const existsSync = fs.statSync || fs.existsSync || path.existsSync; let result;