Skip to content

Commit

Permalink
Merge pull request #4287 from chenyukang/yukang-fix-windows-failure
Browse files Browse the repository at this point in the history
chore: ix windows ci error failed for daemon option
  • Loading branch information
doitian authored Dec 29, 2023
2 parents 72abd78 + 9201a6c commit 07f01e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions util/app-config/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ pub struct RunArgs {
/// Whether start indexer, default false
pub indexer: bool,
/// Whether start in daemon mode
#[cfg(not(target_os = "windows"))]
pub daemon: bool,
}

Expand Down
1 change: 1 addition & 0 deletions util/app-config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ impl Setup {
overwrite_chain_spec: matches.get_flag(cli::ARG_OVERWRITE_CHAIN_SPEC),
chain_spec_hash,
indexer: matches.get_flag(cli::ARG_INDEXER),
#[cfg(not(target_os = "windows"))]
daemon: matches.get_flag(cli::ARG_DAEMON),
})
}
Expand Down

0 comments on commit 07f01e9

Please sign in to comment.