squishjs 0.7.65 → 0.7.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/Asset.js +4 -0
- package/src/Squisher.js +3 -0
package/package.json
CHANGED
package/src/Asset.js
CHANGED
|
@@ -126,6 +126,8 @@ class Asset {
|
|
|
126
126
|
this.doDownload(this.info.id, HG_ASSET_PATH).then((fileLocation) => {
|
|
127
127
|
this.initialized = true;
|
|
128
128
|
resolve(fileLocation);
|
|
129
|
+
}).catch(err => {
|
|
130
|
+
reject(err);
|
|
129
131
|
});
|
|
130
132
|
}
|
|
131
133
|
});
|
|
@@ -145,6 +147,8 @@ class Asset {
|
|
|
145
147
|
resolve(buf);
|
|
146
148
|
}
|
|
147
149
|
});
|
|
150
|
+
}).catch(err => {
|
|
151
|
+
reject(err);
|
|
148
152
|
});
|
|
149
153
|
}
|
|
150
154
|
});
|