Comparing version 3.9.7 to 3.10.0
@@ -64,3 +64,3 @@ "use strict"; | ||
const result = yield fetchFromService(info, 'CDN', `https://data.jsdelivr.com/v1/package/gh/${repoPart}@${info.branch}/flat`, `https://cdn.jsdelivr.net/gh/${repoPart}@${info.branch}`, 'files', 'name'); | ||
if (result === null || result === void 0 ? void 0 : result.length) { | ||
if (result) { | ||
return result; | ||
@@ -67,0 +67,0 @@ } |
{ | ||
"name": "motoko", | ||
"version": "3.9.7", | ||
"version": "3.10.0", | ||
"description": "Compile and run Motoko smart contracts in Node.js or the browser.", | ||
@@ -5,0 +5,0 @@ "author": "Ryan Vandersmith (https://github.com/rvanasa)", |
@@ -85,3 +85,3 @@ // Derived from: https://github.com/dfinity/motoko-playground/blob/main/src/workers/file.ts | ||
); | ||
if (result?.length) { | ||
if (result) { | ||
return result; | ||
@@ -88,0 +88,0 @@ } |
Sorry, the diff of this file is not supported yet
5794287