File tree Expand file tree Collapse file tree
src/views/collection/manage Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 },
1010 "homepage" : " https://github.com/rainu/image-fainder" ,
1111 "private" : true ,
12- "version" : " 0.7.2 " ,
12+ "version" : " 0.8.0 " ,
1313 "type" : " module" ,
1414 "scripts" : {
1515 "dev" : " VITE_COMMIT_HASH=$(git rev-parse HEAD) vite" ,
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ export default defineComponent({
131131 .sort (([a ], [b ]) => Number (a ) - Number (b ))
132132 .slice (start , end )
133133 .reduce ((acc , [key , value ]) => {
134- acc [key ] = value
134+ acc [Number ( key ) ] = value
135135 return acc
136136 }, {} as Record <number , AdvancedAnnotation >)
137137 },
@@ -143,7 +143,7 @@ export default defineComponent({
143143 onInterrupt() {
144144 this .progress .interrupted = true
145145 },
146- async processLine(line : string ): AdvancedAnnotation {
146+ async processLine(line : string ): Promise < AdvancedAnnotation > {
147147 const valid = URL .canParse (line )
148148 if (! valid ) {
149149 return {
@@ -254,7 +254,7 @@ export default defineComponent({
254254
255255 if (buffer .length > 0 ) {
256256 if (! this .progress .interrupted ) {
257- results [line ] = await this .processLine (line , buffer )
257+ results [line ] = await this .processLine (buffer )
258258 }
259259 }
260260
You can’t perform that action at this time.
0 commit comments