From 997becae01e8dd1176f222fc6846ea997819f2b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Jes=C3=BAs?= Date: Thu, 20 Apr 2023 12:37:40 +0200 Subject: [PATCH] fix: error message format --- plugin/src/helpers/verification.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugin/src/helpers/verification.ts b/plugin/src/helpers/verification.ts index c767d630..d0672422 100644 --- a/plugin/src/helpers/verification.ts +++ b/plugin/src/helpers/verification.ts @@ -1,6 +1,6 @@ import process from 'process' -import { yellowBright, redBright } from 'chalk' +import { yellowBright, blueBright } from 'chalk' import { stripIndent } from 'common-tags' import { existsSync, promises } from 'fs-extra' import { async as StreamZip } from 'node-stream-zip' @@ -39,7 +39,8 @@ export const checkZipSize = async ( )}, which is larger than the recommended maximum size of ${prettyBytes( warningSize, )}. This will fail the build if the unzipped size is bigger than the maximum size of ${prettyBytes( - maxSize. + maxSize, + )} There are a few reasons this could happen, such as accidentally bundling a large dependency or adding lots of files to "included_files". `), )