Merge pull request #319 from schungx/master

Fix no_module feature.
This commit is contained in:
Stephen Chung 2020-12-30 15:57:50 +08:00 committed by GitHub
commit 253e43da30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,6 +66,8 @@ fn main() {
// Load init scripts // Load init scripts
#[cfg(not(feature = "no_module"))]
{
let mut contents = String::new(); let mut contents = String::new();
let mut has_init_scripts = false; let mut has_init_scripts = false;
@ -114,6 +116,7 @@ fn main() {
if has_init_scripts { if has_init_scripts {
println!(); println!();
} }
}
// Setup Engine // Setup Engine