Skip to content

Commit

Permalink
Update for newer versions, corrections, making usable on JVM
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcinMoskala committed Feb 15, 2024
1 parent 2d3dcd0 commit 756c984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jvmMain/kotlin/com.marcinmoskala.application/Sync.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ suspend fun main() = coroutineScope<Unit> {
}

suspend fun AnkiConnectorJvm.syncAllInDict(file: File) {
File("/Users/mm/Documents/Notes/Almanach").listFiles()!!.forEach { file ->
file.listFiles()!!.forEach { file ->
if (file.isFile && file.extension == "md") {
runCatching {
val pushResult = pushFile(file)
Expand Down

0 comments on commit 756c984

Please sign in to comment.