diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-22 15:24:18 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-22 15:24:21 +0900 |
| commit | f7f1ae38b765a10cb37fb2ecc68daea3401954fd (patch) | |
| tree | 071cb8062b6da2159859d4e4fc550ac47e11a346 /crates/mozart/src/commands/config.rs | |
| parent | 7f75c394502d32a9a8967dcf3602141098fdd07d (diff) | |
| download | php-mozart-f7f1ae38b765a10cb37fb2ecc68daea3401954fd.tar.gz php-mozart-f7f1ae38b765a10cb37fb2ecc68daea3401954fd.tar.zst php-mozart-f7f1ae38b765a10cb37fb2ecc68daea3401954fd.zip | |
chore: cargo fmt
Diffstat (limited to 'crates/mozart/src/commands/config.rs')
| -rw-r--r-- | crates/mozart/src/commands/config.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/crates/mozart/src/commands/config.rs b/crates/mozart/src/commands/config.rs index d6a5278..c46b7a4 100644 --- a/crates/mozart/src/commands/config.rs +++ b/crates/mozart/src/commands/config.rs @@ -386,7 +386,6 @@ fn match_repository_key(key: &str) -> Option<&str> { None } - // ─── JSON path helpers ──────────────────────────────────────────────────────── /// Set a value at a dot-separated path within a JSON Value. @@ -452,10 +451,8 @@ fn resolve_config_file_path(args: &ConfigArgs, cli: &super::Cli) -> anyhow::Resu Ok(working_dir(cli)?.join("composer.json")) } - // ─── Helpers ────────────────────────────────────────────────────────────────── - /// Load the `config` section from a JSON file (global `config.json` or local /// `composer.json`). Returns an empty map when the file is absent or has no /// `config` key. @@ -477,10 +474,8 @@ fn load_config_section( } } - // ─── Value rendering ───────────────────────────────────────────────────────── - // ─── execute() ─────────────────────────────────────────────────────────────── pub async fn execute( |
