lint: src/node/utils/path_exists.js

pull/4667/head
John McLear 2021-01-21 21:06:52 +00:00 committed by Richard Hansen
parent 4f7e322d53
commit b831feae66
1 changed files with 2 additions and 1 deletions

View File

@ -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;