diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index de9879e..199da71 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,7 +7,7 @@ on: jobs: release: - name: Publish to Github Relases + name: Publish to Github Releases outputs: rc: ${{ steps.check-tag.outputs.rc }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d3de34..bf9f3f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,7 +40,7 @@ All notable changes to this project will be documented in this file. ### Bug Fixes -- File path contains special charactors ([#114](https://github.com/sigoden/dufs/issues/114)) +- File path contains special characters ([#114](https://github.com/sigoden/dufs/issues/114)) ### Features @@ -78,7 +78,7 @@ All notable changes to this project will be documented in this file. ### Bug Fixes -- Unexpect stack overflow when searching a lot ([#87](https://github.com/sigoden/dufs/issues/87)) +- Unexpected stack overflow when searching a lot ([#87](https://github.com/sigoden/dufs/issues/87)) ### Features @@ -171,7 +171,7 @@ All notable changes to this project will be documented in this file. ### Refactor -- Trival changes ([#41](https://github.com/sigoden/dufs/issues/41)) +- Trivial changes ([#41](https://github.com/sigoden/dufs/issues/41)) ## [0.16.0] - 2022-06-12 diff --git a/assets/index.js b/assets/index.js index d5d5c1e..aef3018 100644 --- a/assets/index.js +++ b/assets/index.js @@ -498,11 +498,11 @@ function formatDuration(seconds) { return `${padZero(h, 2)}:${padZero(m, 2)}:${padZero(s, 2)}`; } -function formatPercent(precent) { - if (precent > 10) { - return precent.toFixed(1) + "%"; +function formatPercent(percent) { + if (percent > 10) { + return percent.toFixed(1) + "%"; } else { - return precent.toFixed(2) + "%"; + return percent.toFixed(2) + "%"; } } diff --git a/src/args.rs b/src/args.rs index b727539..d855e5b 100644 --- a/src/args.rs +++ b/src/args.rs @@ -206,7 +206,7 @@ pub struct Args { impl Args { /// Parse command-line arguments. /// - /// If a parsing error ocurred, exit the process and print out informative + /// If a parsing error occurred, exit the process and print out informative /// error message to user. pub fn parse(matches: ArgMatches) -> BoxResult { let port = *matches.get_one::("port").unwrap();