Skip to content

Commit fb359cc

Browse files
committed
Fix downloading typings for packages from ci.codesandbox.io
1 parent 55f2440 commit fb359cc

File tree

1 file changed

+4
-1
lines changed
  • packages/app/src/app/overmind/effects

1 file changed

+4
-1
lines changed

packages/app/src/app/overmind/effects/fsSync.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,10 @@ async function syncDependencyTypings(
7272

7373
return Promise.all(
7474
Object.keys(absoluteDependencies).map(async depName => {
75-
const depVersion = absoluteDependencies[depName];
75+
const depVersion = absoluteDependencies[depName].replace(
76+
/^https:\/\//,
77+
'https:'
78+
);
7679

7780
try {
7881
const fetchRequest = await fetch(

0 commit comments

Comments
 (0)