Skip to content

fix: Snap crashing when no address is set on installation #54

fix: Snap crashing when no address is set on installation

fix: Snap crashing when no address is set on installation #54

Triggered via pull request March 27, 2024 21:46
Status Failure
Total duration 2m 44s
Artifacts

main.yml

on: pull_request
Build, lint, and test  /  Prepare
31s
Build, lint, and test / Prepare
Check workflows
4s
Check workflows
Build, lint, and test  /  Lint
40s
Build, lint, and test / Lint
Build, lint, and test  /  Build
55s
Build, lint, and test / Build
Build, lint, and test  /  End-to-end Test
42s
Build, lint, and test / End-to-end Test
All jobs completed
0s
All jobs completed
All jobs pass
0s
All jobs pass
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 5 warnings
Build, lint, and test / Lint: packages/snap/src/ui.ts#L60
Unexpected negated condition
Build, lint, and test / Lint: packages/snap/src/ui.ts#L60
Replace `(!myAccount)·{·` with `·(!myAccount)·{`
Build, lint, and test / Lint: packages/snap/src/ui.ts#L66
Replace `⏎··else·{·` with `·else·{`
Build, lint, and test / Lint: packages/snap/src/ui.ts#L68
Replace `⏎······row(labelAddress,·address(myAccount))⏎····);·` with `row(labelAddress,·address(myAccount)));`
Build, lint, and test / Lint: packages/snap/src/ui.ts#L71
Replace `⏎······row(labelBalance,·text(`${lxpBalance}`))⏎····);·` with `row(labelBalance,·text(`${lxpBalance}`)));`
Build, lint, and test / Lint: packages/snap/src/ui.ts#L74
Replace `⏎······row(labelPohStatus,·text(`${pohStatus}`))⏎····);·` with `row(labelPohStatus,·text(`${pohStatus}`)));`
Build, lint, and test / Lint
Process completed with exit code 1.
All jobs pass
Process completed with exit code 1.
Check workflows
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build, lint, and test / Prepare
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build, lint, and test / Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build, lint, and test / Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build, lint, and test / End-to-end Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.