Skip to content

Commit bd86e59

Browse files
Update maxFileSize comment to use megabytes
1 parent 569005b commit bd86e59

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ type Config = {
7878
maxPagesToCrawl: number;
7979
/** File name for the finished data */
8080
outputFileName: string;
81-
/** Optional maximum file size in bytes to include in the output file */
81+
/** Optional maximum file size in megabytes to include in the output file */
8282
maxFileSize?: number().,
8383
/** Optional maximum number tokens to include in the output file */
8484
maxTokens?: number().,

src/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ export const configSchema = z.object({
5353
waitForSelectorTimeout: z.number().int().nonnegative().optional(),
5454

5555

56-
/** Optional maximum file size in bytes to include in the output file
57-
* @example 1000
56+
/** Optional maximum file size in megabytes to include in the output file
57+
* @example 1
5858
*/
5959
maxFileSize: z.number().int().positive().optional(),
6060
/** Optional maximum number tokens to include in the output file

0 commit comments

Comments
 (0)