mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
fix syntax
This commit is contained in:
parent
ae3506d002
commit
d9d00988f2
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ pub fn run_metrics() -> Result<()> {
|
||||||
let mut file = std::fs::OpenOptions::new().append(true).open("metrics.json")?;
|
let mut file = std::fs::OpenOptions::new().append(true).open("metrics.json")?;
|
||||||
writeln!(file, "{}", metrics.json())?;
|
writeln!(file, "{}", metrics.json())?;
|
||||||
run!("git add .")?;
|
run!("git add .")?;
|
||||||
run!("git commit --author='GitHub Action <>' --message='📈' ")?;
|
run!("git commit --author 'GitHub Action <>' --message '📈' ")?;
|
||||||
|
|
||||||
if let Ok(actor) = env::var("GITHUB_ACTOR") {
|
if let Ok(actor) = env::var("GITHUB_ACTOR") {
|
||||||
let token = env::var("GITHUB_TOKEN").unwrap();
|
let token = env::var("GITHUB_TOKEN").unwrap();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue