mirror of
https://github.com/morhetz/gruvbox.git
synced 2025-11-16 23:33:38 -05:00
chore(package): re-init package with commitizen and standard-release
This commit is contained in:
18
node_modules/fs-exists-sync/index.js
generated
vendored
Normal file
18
node_modules/fs-exists-sync/index.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
/*!
|
||||
* fs-exists-sync (https://github.com/jonschlinkert/fs-exists-sync)
|
||||
*
|
||||
* Copyright (c) 2016, Jon Schlinkert.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
var fs = require('fs');
|
||||
|
||||
module.exports = function(filepath) {
|
||||
try {
|
||||
(fs.accessSync || fs.statSync)(filepath);
|
||||
return true;
|
||||
} catch (err) {}
|
||||
return false;
|
||||
};
|
||||
Reference in New Issue
Block a user