make libPath part of Prelude
This commit is contained in:
@@ -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)
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user