From 090dd8c0f8bb4c61d667e04b25c162051ce18477 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Wa=C5=9Bko?= Date: Thu, 18 Mar 2021 23:49:51 +0100 Subject: [PATCH] revert a change in build/run.js which was committed by mistake --- build/run.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/run.js b/build/run.js index 06f6599b7b..12b955e1c2 100755 --- a/build/run.js +++ b/build/run.js @@ -173,9 +173,9 @@ commands.build.rust = async function(argv) { let stats = fss.statSync(paths.dist.wasm.mainOptGz) let limit = 4.29 let size = Math.round(100 * stats.size / 1024 / 1024) / 100 - /*if (size > limit) { + if (size > limit) { throw(`Output file size exceeds the limit (${size}MB > ${limit}MB).`) - }*/ + } } }