Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete vestigial last_run.uuid file #2236

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion crates/rover-client/.schema/last_run.uuid

This file was deleted.

2 changes: 0 additions & 2 deletions xtask/src/commands/prep/main_schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
use camino::Utf8PathBuf;
use reqwest::Client;
use rover_std::Fs;
use uuid::Uuid;

Check warning on line 7 in xtask/src/commands/prep/main_schema.rs

View workflow job for this annotation

GitHub Actions / Build Rover for macOS x86-64

unused import: `uuid::Uuid`

const SCHEMA_DIR: &str = "./crates/rover-client/.schema";

Expand All @@ -17,8 +17,6 @@
pub async fn update() -> Result<()> {
let schema_dir = Utf8PathBuf::from(SCHEMA_DIR);
Fs::create_dir_all(&schema_dir)?;
let last_run_uuid = Uuid::new_v4().to_string();
Fs::write_file(schema_dir.join("last_run.uuid"), last_run_uuid)?;

let hash_path = schema_dir.join("hash.id");

Expand Down
Loading