Merge pull request #1220 from striezel-stash/fix-typos

Fix some typos
master
Jesper Håkansson 2 years ago committed by GitHub
commit b4e619c8a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/child.rs
  2. 4
      src/command/mod.rs
  3. 2
      src/command/test.rs
  4. 2
      src/lockfile.rs

@ -1,4 +1,4 @@
//! Utilties for managing child processes.
//! Utilities for managing child processes.
//!
//! This module helps us ensure that all child processes that we spawn get
//! properly logged and their output is logged as well.

@ -31,7 +31,7 @@ pub enum Command {
#[structopt(name = "pack")]
/// 🍱 create a tar of your npm package but don't publish!
Pack {
/// The path to the Rust crate. If not set, searches up the path from the current dirctory.
/// The path to the Rust crate. If not set, searches up the path from the current directory.
#[structopt(parse(from_os_str))]
path: Option<PathBuf>,
},
@ -69,7 +69,7 @@ pub enum Command {
#[structopt(long = "tag")]
tag: Option<String>,
/// The path to the Rust crate. If not set, searches up the path from the current dirctory.
/// The path to the Rust crate. If not set, searches up the path from the current directory.
#[structopt(parse(from_os_str))]
path: Option<PathBuf>,
},

@ -81,7 +81,7 @@ pub struct TestOptions {
/// Path to the Rust crate, and extra options to pass to `cargo test`.
///
/// If the path is not provided, this command searches up the path from the current dirctory
/// If the path is not provided, this command searches up the path from the current directory.
///
/// This is a workaround to allow wasm pack to provide the same command line interface as `cargo`.
/// See <https://github.com/rustwasm/wasm-pack/pull/851> for more information.

@ -65,7 +65,7 @@ impl Lockfile {
}
}
/// Given the path to the crate that we are buliding, return a `PathBuf`
/// Given the path to the crate that we are building, return a `PathBuf`
/// containing the location of the lock file, by finding the workspace root.
fn get_lockfile_path(crate_data: &CrateData) -> Result<PathBuf> {
// Check that a lock file can be found in the directory. Return an error

Loading…
Cancel
Save