mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
lint: src/node/utils/path_exists.js
This commit is contained in:
parent
4f7e322d53
commit
b831feae66
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue