mirror of
https://github.com/Dvorinka/ClubLogos.git
synced 2026-10-29 00:21:15 +00:00
fff
This commit is contained in:
1 parent
0fc92f8464
commit
cdb8bcd3e9
5928 files changed
+1054476
-72
No files matched your search
+12
@@ -0,0 +1,12 @@
|
||||
'use strict'
|
||||
const u = require('universalify').fromPromise
|
||||
const fs = require('../fs')
|
||||
|
||||
function pathExists (path) {
|
||||
return fs.access(path).then(() => true).catch(() => false)
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
pathExists: u(pathExists),
|
||||
pathExistsSync: fs.existsSync
|
||||
}
|
||||
Reference in new issue
Block a user