make libPath part of Prelude

This commit is contained in:
2021-10-22 16:26:19 -04:00
parent 00759253d0
commit 13fd64c2f5
7 changed files with 11 additions and 9 deletions

View File

@@ -12,7 +12,6 @@
(var &mut :KissConfig config null)
(function :Void tryLoadConfig [&opt :String text]
// TODO if a config object is active and a shortcut panel is open, dispose the panel before we lose the handle in the current config object
(let [handleConfigFailure
->errorMessage {
(FileSystem.deleteDirectory activeConfigDir)

View File

@@ -5,6 +5,8 @@
options ,options
result (ChildProcess.spawnSync command args options)]
(if result.error
// TODO i can't remember if this needs to be a throw for some reason,
// but it seems like it's supposed to be (,onError ...)(return) like below
(throw "Error $result.error from $command ${args}: $result.stdout $result.stderr")
(case result.status
(0 null)