@net-protocol/cli 0.1.28 → 0.1.29
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/dist/cli/index.mjs
CHANGED
|
@@ -3243,7 +3243,7 @@ ${available}`
|
|
|
3243
3243
|
const buffer = fs6.readFileSync(filePath);
|
|
3244
3244
|
if (buffer.length > MAX_CSS_SIZE) {
|
|
3245
3245
|
exitWithError(
|
|
3246
|
-
`File too large: ${buffer.length} bytes exceeds maximum of ${MAX_CSS_SIZE} bytes (
|
|
3246
|
+
`File too large: ${buffer.length} bytes exceeds maximum of ${MAX_CSS_SIZE} bytes (15KB).`
|
|
3247
3247
|
);
|
|
3248
3248
|
}
|
|
3249
3249
|
cssContent = buffer.toString("utf-8");
|
|
@@ -3252,7 +3252,7 @@ ${available}`
|
|
|
3252
3252
|
const contentSize = Buffer.byteLength(cssContent, "utf-8");
|
|
3253
3253
|
if (contentSize > MAX_CSS_SIZE) {
|
|
3254
3254
|
exitWithError(
|
|
3255
|
-
`Content too large: ${contentSize} bytes exceeds maximum of ${MAX_CSS_SIZE} bytes (
|
|
3255
|
+
`Content too large: ${contentSize} bytes exceeds maximum of ${MAX_CSS_SIZE} bytes (15KB).`
|
|
3256
3256
|
);
|
|
3257
3257
|
}
|
|
3258
3258
|
}
|