mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
Use HTTPS for clippy lint JSON
This commit is contained in:
parent
efa84cd08d
commit
993c7a165e
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ pub(crate) fn generate_lint_completions() -> Result<()> {
|
||||||
generate_feature_descriptor(&mut contents, "./target/rust/src/doc/unstable-book/src".into())?;
|
generate_feature_descriptor(&mut contents, "./target/rust/src/doc/unstable-book/src".into())?;
|
||||||
contents.push('\n');
|
contents.push('\n');
|
||||||
|
|
||||||
cmd!("curl http://rust-lang.github.io/rust-clippy/master/lints.json --output ./target/clippy_lints.json").run()?;
|
cmd!("curl https://rust-lang.github.io/rust-clippy/master/lints.json --output ./target/clippy_lints.json").run()?;
|
||||||
generate_descriptor_clippy(&mut contents, &Path::new("./target/clippy_lints.json"))?;
|
generate_descriptor_clippy(&mut contents, &Path::new("./target/clippy_lints.json"))?;
|
||||||
let contents = reformat(&contents)?;
|
let contents = reformat(&contents)?;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue