diff options
Diffstat (limited to 'xtask/src/lib.rs')
-rw-r--r-- | xtask/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/src/lib.rs b/xtask/src/lib.rs index 761592e85..a8685f567 100644 --- a/xtask/src/lib.rs +++ b/xtask/src/lib.rs | |||
@@ -146,7 +146,7 @@ pub fn install_format_hook() -> Result<()> { | |||
146 | "./.git/hooks/pre-commit" | 146 | "./.git/hooks/pre-commit" |
147 | }); | 147 | }); |
148 | if !result_path.exists() { | 148 | if !result_path.exists() { |
149 | run("cargo build --package ra_tools --bin pre-commit", ".")?; | 149 | run("cargo build --package xtask --bin pre-commit", ".")?; |
150 | if cfg!(windows) { | 150 | if cfg!(windows) { |
151 | fs::copy("./target/debug/pre-commit.exe", result_path)?; | 151 | fs::copy("./target/debug/pre-commit.exe", result_path)?; |
152 | } else { | 152 | } else { |