mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
Prefer copyFileSync from here over native (#1440)
This commit is contained in:
parent
8e2f8686c4
commit
932c3572fd
@ -120,6 +120,13 @@ exports.copyFileSync = function(inFile, outDir, fileName) {
|
||||
return fs.closeSync(write);
|
||||
};
|
||||
|
||||
var alwaysOverride = {
|
||||
'copyFileSync': true
|
||||
};
|
||||
|
||||
Object.keys(fs).forEach(function(member) {
|
||||
if (!alwaysOverride[member]) {
|
||||
exports[member] = fs[member];
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
"url": "https://github.com/jsdoc3/jsdoc"
|
||||
},
|
||||
"dependencies": {
|
||||
"babylon": "~7.0.0-beta.19",
|
||||
"babylon": "7.0.0-beta.19",
|
||||
"bluebird": "~3.5.0",
|
||||
"catharsis": "~0.8.9",
|
||||
"escape-string-regexp": "~1.0.5",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user