Skip to content

Commit

Permalink
fix: error message format
Browse files Browse the repository at this point in the history
  • Loading branch information
biruwon committed Apr 20, 2023
1 parent 24c5bbc commit 997beca
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugin/src/helpers/verification.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down Expand Up @@ -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".
`),
)
Expand Down

0 comments on commit 997beca

Please sign in to comment.