| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b9c5eee commit c381662
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -478,7 +478,7 @@ fs.readlinkSync = function(path) { | |||
| 478 | 478 | fs.symlink = function(destination, path, type_, callback) { | |
| 479 | 479 | var type = (typeof(type_) == 'string' ? type_ : null); | |
| 480 | 480 | var callback_ = arguments[arguments.length - 1]; | |
| 481 | - callback = (typeof(callback_) == 'function' ? callback_ : null); | ||
| 481 | + callback = (typeof(callback_) == 'function' ? callback_ : noop); | ||
| 482 | 482 | ||
| 483 | 483 | if (isWindows && type === 'junction') { | |
| 484 | 484 | destination = pathModule._makeLong(destination); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments