Skip to content

Commit

Permalink
Replace reject with resolve (#610)
Browse files Browse the repository at this point in the history
  • Loading branch information
nilslindemann authored May 28, 2023
1 parent 24b1e67 commit 3afae26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/source/Window.mint
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ module Window {
if (result) {
resolve(#{Result::Ok(`result`)})
} else {
reject(#{Result::Err("User cancelled!")})
resolve(#{Result::Err("User cancelled!")})
}
})
`
Expand Down

0 comments on commit 3afae26

Please sign in to comment.