| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent ee85185 commit efb2376
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -45,4 +45,10 @@ Clone.clone = function(url, local_path, options) { | |||
| 45 | 45 | .then(openRepository); | |
| 46 | 46 | }; | |
| 47 | 47 | ||
| 48 | - module.exports = Clone; | ||
| 48 | + // Inherit directly from the original clone object. | ||
| 49 | + Clone.clone.__proto__ = Clone; | ||
| 50 | + | ||
| 51 | + // Ensure we're using the correct prototype. | ||
| 52 | + Clone.clone.prototype = Clone.prototype; | ||
| 53 | + | ||
| 54 | + module.exports = Clone.clone; | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments