Skip to content

Commit ca1ca90

Browse files
authored
Update src/npm.rs
1 parent 35eca63 commit ca1ca90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/npm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pub fn npm_pack(path: &str) -> Result<()> {
2020
pub fn npm_publish(path: &str, access: Option<Access>, tag: Option<String>) -> Result<()> {
2121
let mut cmd = child::new_command("npm");
2222
match access {
23-
Some(a) => cmd.current_dir(path).arg("publish").arg(a.to_string()),
23+
Some(a) => cmd.current_dir(path).arg("publish").arg(&a.to_string()),
2424
None => cmd.current_dir(path).arg("publish"),
2525
};
2626
if let Some(tag) = tag {

0 commit comments

Comments
 (0)