Skip to content

Commit

Permalink
fix setup ledger with new eli
Browse files Browse the repository at this point in the history
  • Loading branch information
cryi committed Sep 4, 2024
1 parent c40bc39 commit 5717211
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/__xtz/ledger/key.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ local function setup(options)
env = { HOME = homedir }
})

ami_assert(_proc.exitcode == 0, "Failed to get connected ledgers: " .. _proc.stderrStream:read("a"))
ami_assert(_proc.exitcode == 0, "Failed to get connected ledgers: " .. (_proc.stderrStream:read("a") or "unknown"))
local _output = _proc.stdoutStream:read("a")
ledgerId = _output:match("## Ledger `(.-)`")
ami_assert(ledgerId, "No connected ledgers found!", EXIT_APP_INTERNAL_ERROR)
Expand Down
2 changes: 1 addition & 1 deletion src/__xtz/ledger/platform.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ local function add_udev_rules()
})

fs.remove(tmpFile)
ami_assert(_proc.exitcode == 0, "Failed to setup udev rules : " .. _proc.stderrStream:read("a"))
ami_assert(_proc.exitcode == 0, "Failed to setup udev rules : " .. (_proc.stderrStream:read("a") or "unknown"))
log_info("udev rules setup completed")
end

Expand Down
2 changes: 1 addition & 1 deletion src/specs.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "xtz.signer",
"version" : "0.23.7+20.2",
"version" : "0.23.8+20.2",
"dependencies": [
{ "id":"xtz.base" }
]
Expand Down

0 comments on commit 5717211

Please sign in to comment.