-
-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
transport bridge UI #12050
transport bridge UI #12050
Conversation
5fdca91
to
869c8de
Compare
👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎ This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
2ff0ca6
to
2734383
Compare
return 'Trezor model T/R Bootloader'; | ||
case 5: | ||
return 'Emulator'; | ||
default: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I would prefer to have it strict mapping without having default case
|
||
const { ext } = path.parse(pathname); | ||
|
||
fs.exists(pathname, function (exist) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: arrow function? I think we use (prefer) them everywhere
if (fs.statSync(pathname).isDirectory()) pathname += '/index' + ext; | ||
|
||
// read file from file system | ||
fs.readFile(pathname, function (err, data) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: arrow function? I think we use (prefer) them everywhere
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just nits
2734383
to
bc4e355
Compare
forced pushed the nitpicks |
bridge-node status page
part of #11532
Features:
Todo: