We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9ace65 commit 8ab40d8Copy full SHA for 8ab40d8
1 file changed
test/tests/clone.js
@@ -69,7 +69,8 @@ describe("Clone", function() {
69
});
70
71
it("can clone with filesystem", function() {
72
- var url = "file://" + path.resolve("test/repos/empty");
+ var prefix = process.platform === "win32" ? "" : "file://";
73
+ var url = prefix + path.resolve("test/repos/empty");
74
75
return Clone.clone(url, file).then(function(repository) {
76
assert.ok(repository instanceof Repository);
0 commit comments