Skip to content

Commit

Permalink
rustfmt, try to fix rust workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed Dec 4, 2024
1 parent 68dfa45 commit d580084
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ on:

jobs:
rust:
permissions:
security-events: write
uses: FyraLabs/actions/.github/workflows/rust.yml@main
2 changes: 1 addition & 1 deletion skystreamer-bin/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const FETCH_DATA_ENVAR: &str = "_FETCH_USER_DATA";
///
/// Disabling this will prevent the exporter from fetching data of every user in the stream,
/// which is computationally expensive and not necessary for most use cases.
///
///
/// This is enabled by default, see `[SurrealDbConn.fetch_user_data]` for more information.
pub(crate) fn will_fetch_user_data() -> bool {
std::env::var(FETCH_DATA_ENVAR)
Expand Down

0 comments on commit d580084

Please sign in to comment.