message: Search for path in entered directory and the parent of entered
  This lets us have backwards compatibility while improving the user experience.
diff: @@ -18,9 +18,8 @@ pub fn npm_pack(path: &str) -> Result<(), Error> {
  }
  pub fn npm_publish(path: &str) -> Result<(), Error> {
  - let pkg_file_path = format!("{}/pkg", path);
  let output = Command::new("npm")
  - .current_dir(pkg_file_path)
  + .current_dir(path)
  .arg("publish")
  .output()?;
  if !output.status.success() {
  