mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
fix(examples): api shell example promise catch [skip ci]
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -43,7 +43,7 @@
|
||||
}
|
||||
|
||||
function kill() {
|
||||
child.kill().then(() => onMessage('killed child process')).error(onMessage)
|
||||
child.kill().then(() => onMessage('killed child process')).catch(onMessage)
|
||||
}
|
||||
|
||||
function writeToStdin() {
|
||||
|
||||
Reference in New Issue
Block a user