Version bump

This commit is contained in:
Oliver Schneider 2018-03-27 12:14:46 +02:00
parent b6e2c47df0
commit 96d5af36f8
No known key found for this signature in database
GPG Key ID: 1D5CB4FC597C3004
5 changed files with 10 additions and 7 deletions

View File

@ -1,6 +1,9 @@
# Change Log # Change Log
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
## 0.0.190
* Fix a bunch of intermittent cargo bugs
## 0.0.189 ## 0.0.189
* Rustup to *rustc 1.26.0-nightly (5508b2714 2018-03-18)* * Rustup to *rustc 1.26.0-nightly (5508b2714 2018-03-18)*

View File

@ -1,6 +1,6 @@
[package] [package]
name = "clippy" name = "clippy"
version = "0.0.189" version = "0.0.190"
authors = [ authors = [
"Manish Goregaokar <manishsmail@gmail.com>", "Manish Goregaokar <manishsmail@gmail.com>",
"Andre Bogus <bogusandre@gmail.com>", "Andre Bogus <bogusandre@gmail.com>",
@ -37,7 +37,7 @@ path = "src/driver.rs"
[dependencies] [dependencies]
# begin automatic update # begin automatic update
clippy_lints = { version = "0.0.189", path = "clippy_lints" } clippy_lints = { version = "0.0.190", path = "clippy_lints" }
# end automatic update # end automatic update
cargo_metadata = "0.5" cargo_metadata = "0.5"
regex = "0.2" regex = "0.2"

View File

@ -1,7 +1,7 @@
[package] [package]
name = "clippy_lints" name = "clippy_lints"
# begin automatic update # begin automatic update
version = "0.0.189" version = "0.0.190"
# end automatic update # end automatic update
authors = [ authors = [
"Manish Goregaokar <manishsmail@gmail.com>", "Manish Goregaokar <manishsmail@gmail.com>",

View File

@ -186,7 +186,7 @@ pub fn lookup_conf_file() -> io::Result<Option<path::PathBuf>> {
/// Possible filename to search for. /// Possible filename to search for.
const CONFIG_FILE_NAMES: [&str; 2] = [".clippy.toml", "clippy.toml"]; const CONFIG_FILE_NAMES: [&str; 2] = [".clippy.toml", "clippy.toml"];
let mut current = try!(env::current_dir()); let mut current = path::PathBuf::from(env::var("CARGO_MANIFEST_DIR").expect("CARGO_MANIFEST_DIR not set"));
loop { loop {
for config_file_name in &CONFIG_FILE_NAMES { for config_file_name in &CONFIG_FILE_NAMES {

View File

@ -115,10 +115,10 @@ pub fn main() {
}) })
.collect(); .collect();
let current_dir = std::env::current_dir() let current_dir = PathBuf::from(std::env::var("CARGO_MANIFEST_DIR")
.expect("could not read current directory") .expect("CARGO_MANIFEST_DIR not set"))
.canonicalize() .canonicalize()
.expect("current directory cannot be canonicalized"); .expect("manifest directory cannot be canonicalized");
let mut current_path: &Path = &current_dir; let mut current_path: &Path = &current_dir;