Skip to content

Commit

Permalink
Allow no inputs to be put into the inputs box on aleo.tools
Browse files Browse the repository at this point in the history
  • Loading branch information
iamalwaysuncomfortable committed Jun 29, 2023
1 parent 2cbcb8f commit 958e352
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 36 deletions.
33 changes: 0 additions & 33 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ version = "7.2.0"

[dependencies.self_update]
version = "0.37"
features = [ "default", "archive-zip", "archive-tar"]
features = [ "archive-zip" ]

[dependencies.serde]
version = "1"
Expand Down
2 changes: 1 addition & 1 deletion cli/helpers/updater.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub struct Updater;
// TODO Add logic for users to easily select release versions.
impl Updater {
const ALEO_BIN_NAME: &'static str = "aleo";
const ALEO_REPO_NAME: &'static str = "aleo";
const ALEO_REPO_NAME: &'static str = "sdk";
const ALEO_REPO_OWNER: &'static str = "AleoHQ";

/// Show all available releases for `aleo`.
Expand Down
4 changes: 3 additions & 1 deletion website/src/tabs/develop/Execute.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ export const Execute = () => {

let functionInputs = []
try {
functionInputs = inputs.split(" ");
if (!!inputs) {
functionInputs = inputs.split(" ");
}
} catch (e) {
setExecutionError("Inputs are not valid");
setLoading(false);
Expand Down

0 comments on commit 958e352

Please sign in to comment.