motoko 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/package.js +2 -2
- package/package.json +1 -1
package/lib/package.js
CHANGED
@@ -62,7 +62,7 @@ async function fetchFromCDN(mo, repo, directory = '') {
|
|
62
62
|
const stripped =
|
63
63
|
directory +
|
64
64
|
f.name.slice(repo.dir ? repo.dir.length + 1 : 0);
|
65
|
-
mo.
|
65
|
+
mo.write(stripped, content);
|
66
66
|
files[stripped] = content;
|
67
67
|
})();
|
68
68
|
promises.push(promise);
|
@@ -100,7 +100,7 @@ async function fetchFromGithub(mo, repo, directory = '') {
|
|
100
100
|
directory +
|
101
101
|
(directory ? '/' : '') +
|
102
102
|
f.path.slice(repo.dir ? repo.dir.length + 1 : 0);
|
103
|
-
mo.
|
103
|
+
mo.write(stripped, content);
|
104
104
|
files[stripped] = content;
|
105
105
|
})();
|
106
106
|
promises.push(promise);
|