Skip to content

Commit 96d5af3

Browse files
committed
Version bump
1 parent b6e2c47 commit 96d5af3

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Change Log
22
All notable changes to this project will be documented in this file.
33

4+
## 0.0.190
5+
* Fix a bunch of intermittent cargo bugs
6+
47
## 0.0.189
58
* Rustup to *rustc 1.26.0-nightly (5508b2714 2018-03-18)*
69

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "clippy"
3-
version = "0.0.189"
3+
version = "0.0.190"
44
authors = [
55
"Manish Goregaokar <[email protected]>",
66
"Andre Bogus <[email protected]>",
@@ -37,7 +37,7 @@ path = "src/driver.rs"
3737

3838
[dependencies]
3939
# begin automatic update
40-
clippy_lints = { version = "0.0.189", path = "clippy_lints" }
40+
clippy_lints = { version = "0.0.190", path = "clippy_lints" }
4141
# end automatic update
4242
cargo_metadata = "0.5"
4343
regex = "0.2"

clippy_lints/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "clippy_lints"
33
# begin automatic update
4-
version = "0.0.189"
4+
version = "0.0.190"
55
# end automatic update
66
authors = [
77
"Manish Goregaokar <[email protected]>",

clippy_lints/src/utils/conf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ pub fn lookup_conf_file() -> io::Result<Option<path::PathBuf>> {
186186
/// Possible filename to search for.
187187
const CONFIG_FILE_NAMES: [&str; 2] = [".clippy.toml", "clippy.toml"];
188188

189-
let mut current = try!(env::current_dir());
189+
let mut current = path::PathBuf::from(env::var("CARGO_MANIFEST_DIR").expect("CARGO_MANIFEST_DIR not set"));
190190

191191
loop {
192192
for config_file_name in &CONFIG_FILE_NAMES {

src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,10 @@ pub fn main() {
115115
})
116116
.collect();
117117

118-
let current_dir = std::env::current_dir()
119-
.expect("could not read current directory")
118+
let current_dir = PathBuf::from(std::env::var("CARGO_MANIFEST_DIR")
119+
.expect("CARGO_MANIFEST_DIR not set"))
120120
.canonicalize()
121-
.expect("current directory cannot be canonicalized");
121+
.expect("manifest directory cannot be canonicalized");
122122

123123
let mut current_path: &Path = &current_dir;
124124

0 commit comments

Comments
 (0)