mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 15:14:29 +00:00
Version bump
This commit is contained in:
parent
b6e2c47df0
commit
96d5af36f8
5 changed files with 10 additions and 7 deletions
|
@ -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)*
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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>",
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 = ¤t_dir;
|
||||
|
||||
|
|
Loading…
Reference in a new issue