Skip to content

Commit

Permalink
feat(sample): more code line
Browse files Browse the repository at this point in the history
  • Loading branch information
Airkro committed Sep 23, 2024
1 parent 0263798 commit 2490dd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/sample/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bring-it/sample",
"version": "0.4.20",
"version": "0.4.22",
"description": "Generate code sample files",
"license": "MIT",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion packages/sample/src/lib/picker.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async function mapper(io, key, lists) {
if (LINE_NUMBERS > io.length()) {
await readLine(file)
.then((lines) => {
io.get(key).push(...lines.slice(0, LINE_NUMBERS - io.length()));
io.get(key).push(...lines);

logger.okay(file.name);
})
Expand Down

0 comments on commit 2490dd3

Please sign in to comment.