Skip to content

Commit e5579ec

Browse files
authored
Support ENCORE_APP_META_PATH in test mode (#2027)
1 parent 10f5fc7 commit e5579ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtimes/core/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ fn parse_meta(path: &Path) -> Result<metapb::Data, ParseError> {
608608
}
609609

610610
fn enable_test_mode() -> Result<(), ParseError> {
611-
if std::env::var("ENCORE_APP_META").is_ok() {
611+
if std::env::var("ENCORE_APP_META").is_ok() || std::env::var("ENCORE_APP_META_PATH").is_ok() {
612612
return Ok(());
613613
}
614614

0 commit comments

Comments
 (0)