nav tabs on admin dashboard
This commit is contained in:
4
node_modules/fs-extra/lib/ensure/symlink-paths.js
generated
vendored
4
node_modules/fs-extra/lib/ensure/symlink-paths.js
generated
vendored
@@ -28,7 +28,7 @@ const pathExists = require('../path-exists').pathExists
|
||||
|
||||
function symlinkPaths (srcpath, dstpath, callback) {
|
||||
if (path.isAbsolute(srcpath)) {
|
||||
return fs.lstat(srcpath, (err, stat) => {
|
||||
return fs.lstat(srcpath, (err) => {
|
||||
if (err) {
|
||||
err.message = err.message.replace('lstat', 'ensureSymlink')
|
||||
return callback(err)
|
||||
@@ -49,7 +49,7 @@ function symlinkPaths (srcpath, dstpath, callback) {
|
||||
'toDst': srcpath
|
||||
})
|
||||
} else {
|
||||
return fs.lstat(srcpath, (err, stat) => {
|
||||
return fs.lstat(srcpath, (err) => {
|
||||
if (err) {
|
||||
err.message = err.message.replace('lstat', 'ensureSymlink')
|
||||
return callback(err)
|
||||
|
||||
Reference in New Issue
Block a user