Created
October 13, 2016 17:49
-
-
Save ikelos/7f76c81a7fe4e35c6ec63cde1547121b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From d0a0c78ba55c9717e34f9570eb65bb3fe96b6f2b Mon Sep 17 00:00:00 2001 | |
From: Mike Auty <mike.auty@gmail.com> | |
Date: Thu, 13 Oct 2016 18:38:45 +0100 | |
Subject: [PATCH] Fix up scoped packages by replacing all slashes with URL | |
encoded slash characters. | |
--- | |
bin/sync | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/bin/sync b/bin/sync | |
index b465d27..a212a95 100755 | |
--- a/bin/sync | |
+++ b/bin/sync | |
@@ -91,7 +91,7 @@ function fetchPrebuiltBinary(name, version, binaryMetadata, abi, platform, arch) | |
function dependenciesToArray(dependencies) { | |
return Object.keys(dependencies || {}).map(key => { | |
return { | |
- name: key, | |
+ name: key.replace("\/", "%2F"), | |
versionRange: dependencies[key] | |
} | |
}) | |
-- | |
2.10.1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment