We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cacd92 commit 7736174Copy full SHA for 7736174
.travis.yml
@@ -26,6 +26,7 @@ before_script:
26
# NOTE: To increase caching efficiency, keep the same mdbook version
27
# in blacksmith/Cargo.lock too
28
- cargo install -v --debug --locked mdbook --vers '=0.3.6'
29
+ - cargo build --locked --manifest-path=blacksmith/Cargo.toml
30
script:
31
- mdbook build
32
- cp website_config.json book/
blacksmith/src/main.rs
@@ -13,7 +13,7 @@ const CACHE_TTL_SECONDS: u64 = 3600; // 1 hour
13
14
fn main() {
15
// If RUST_LOG is present use that, else default to info level printing.
16
- if let Some(v) = env::var("RUST_LOG") {
+ if let Ok(v) = env::var("RUST_LOG") {
17
env_logger::init_from_env(v);
18
} else {
19
env_logger::builder()
0 commit comments