Skip to content

Commit

Permalink
fix: funbox plus x not working with custom text using pipe delimiter (@…
Browse files Browse the repository at this point in the history
  • Loading branch information
fehmer authored Jan 6, 2025
1 parent 94c219e commit 9c0635e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion frontend/src/ts/test/words-generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ export async function generateWords(
const sectionFinishedAndOverLimit =
currentSection.length === 0 &&
sectionIndex >= CustomText.getLimitValue();
if (sectionFinishedAndOverLimit || ret.words.length >= 100) {
if (sectionFinishedAndOverLimit || ret.words.length >= limit) {
stop = true;
}
} else if (ret.words.length >= limit) {
Expand Down
4 changes: 3 additions & 1 deletion packages/funbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"lint": "eslint \"./**/*.ts\""
},
"devDependencies": {
"@monkeytype/util": "workspace:*",
"@monkeytype/esbuild": "workspace:*",
"@monkeytype/eslint-config": "workspace:*",
"@monkeytype/typescript-config": "workspace:*",
Expand All @@ -20,6 +19,9 @@
"typescript": "5.5.4",
"vitest": "2.0.5"
},
"dependencies": {
"@monkeytype/util": "workspace:*"
},
"exports": {
".": {
"types": "./src/index.ts",
Expand Down
7 changes: 4 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9c0635e

Please sign in to comment.