Skip to content

Commit

Permalink
chore: attend pr review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
guidiaz committed Aug 23, 2023
1 parent 8a63a2f commit 6af950b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/witnet.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ function avail() {
if (process.argv.includes("--chains")) {
let selection = Witnet.Utils.splitSelectionFromProcessArgv("--chains").map(value => {
return value.toLowerCase() === "ethereum" ? "default" : value.toLowerCase()
})
})
// add `WITNET_SIDECHAIN` to selection, should no --chains list be provided from CLI
if (!selection || selection.length == 0) {
selection = [ process.env.WITNET_SIDECHAIN.toLowerCase().trim().replaceAll(":", ".") ]
Expand Down

0 comments on commit 6af950b

Please sign in to comment.