Skip to content

Commit

Permalink
release version: v0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rainu committed Nov 5, 2024
1 parent 2a2c595 commit aa24d22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"homepage": "https://github.com/rainu/image-fainder",
"private": true,
"version": "0.7.2",
"version": "0.8.0",
"type": "module",
"scripts": {
"dev": "VITE_COMMIT_HASH=$(git rev-parse HEAD) vite",
Expand Down
6 changes: 3 additions & 3 deletions src/views/collection/manage/Add.vue
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export default defineComponent({
.sort(([a], [b]) => Number(a) - Number(b))
.slice(start, end)
.reduce((acc, [key, value]) => {
acc[key] = value
acc[Number(key)] = value
return acc
}, {} as Record<number, AdvancedAnnotation>)
},
Expand All @@ -143,7 +143,7 @@ export default defineComponent({
onInterrupt() {
this.progress.interrupted = true
},
async processLine(line: string): AdvancedAnnotation {
async processLine(line: string): Promise<AdvancedAnnotation> {
const valid = URL.canParse(line)
if (!valid) {
return {
Expand Down Expand Up @@ -254,7 +254,7 @@ export default defineComponent({
if (buffer.length > 0) {
if (!this.progress.interrupted) {
results[line] = await this.processLine(line, buffer)
results[line] = await this.processLine(buffer)
}
}
Expand Down

0 comments on commit aa24d22

Please sign in to comment.