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.
2 parents c4fa076 + 3ad441e commit f8a8527Copy full SHA for f8a8527
mbed/mbed.py
@@ -1142,7 +1142,9 @@ def write(self):
1142
self.rev if self.rev else ''))
1143
action("Updating reference \"%s\" -> \"%s\"" % (relpath(cwd_root, self.path) if cwd_root != self.path else self.name, ref))
1144
with open(self.lib, 'wb') as f:
1145
- f.write(ref + '\n')
+ with_auth = urlparse(ref)
1146
+ f.write(with_auth._replace(netloc=with_auth.hostname).geturl())
1147
+ f.write("\n")
1148
1149
def rm_untracked(self):
1150
untracked = self.scm.untracked()
0 commit comments