Skip to content

Commit f83a19f

Browse files
committed
Fix prettier
1 parent d264227 commit f83a19f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/notepadhandler.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,7 @@ export class NoteScreenConnection {
894894
await saveproms // wait before next iteration, do not use up to much mem
895895

896896
cursor = scanret[0]
897-
} while (cursor !== 0)
897+
} while (cursor !== '0')
898898
} catch (error) {
899899
console.log('Error saveChangedLecture', error)
900900
}
@@ -1096,7 +1096,7 @@ export class NoteScreenConnection {
10961096
lastaccessesp.push(...myprom2)
10971097

10981098
cursor2 = scanret2[0]
1099-
} while (cursor2 !== 0)
1099+
} while (cursor2 !== '0')
11001100

11011101
let laarr = await Promise.all(lastaccessesp)
11021102
laarr = laarr.flat()
@@ -1115,14 +1115,14 @@ export class NoteScreenConnection {
11151115
console.log('purge element', pscanret)
11161116
pcursor = pscanret[0]
11171117
retprom.push(...pscanret[1].map((el2) => unlink(el2)))
1118-
} while (pcursor !== 0)
1118+
} while (pcursor !== '0')
11191119
}
11201120
return Promise.all(retprom)
11211121
})
11221122
)
11231123
allprom.push(myprom)
11241124
cursor = scanret[0]
1125-
} while (cursor !== 0)
1125+
} while (cursor !== '0')
11261126
await Promise.all(allprom) // we are finished giving orders, wait for return
11271127
return
11281128
} catch (err) {

0 commit comments

Comments
 (0)