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
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
* Rustup to *rustc 1.26.0-nightly (5508b2714 2018-03-18)*

View file

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

View file

@ -1,7 +1,7 @@
[package]
name = "clippy_lints"
# begin automatic update
version = "0.0.189"
version = "0.0.190"
# end automatic update
authors = [
"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.
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 {
for config_file_name in &CONFIG_FILE_NAMES {

View file

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