mirror of
https://github.com/openharmony/ability_ability_runtime.git
synced 2026-08-24 12:43:16 -04:00
代码不一致整改
issue:https://gitcode.com/openharmony/arkcompiler_ets_runtime/issues/11985?ref=&did=3490383#tid-3490383 Signed-off-by: rentangyu <rentangyu@huawei.com>
This commit is contained in:
@@ -131,10 +131,8 @@ void JsEnvironment::InitSourceMap(const std::shared_ptr<JsEnv::SourceMapOperator
|
||||
return;
|
||||
}
|
||||
|
||||
if (sourceMapOperator_ != nullptr && sourceMapOperator_->GetHasFile()) {
|
||||
if (sourceMapOperator_ != nullptr) {
|
||||
sourceMapOperator_->InitSourceMap();
|
||||
} else {
|
||||
sourceMapOperator_->SetInitStatus(InitStatus::EXECUTED_SUCCESSFULLY);
|
||||
}
|
||||
|
||||
auto translateBySourceMapFunc = [&](const std::string& rawStack) -> std::string {
|
||||
|
||||
@@ -87,10 +87,6 @@ public:
|
||||
return sourceMapObj_;
|
||||
}
|
||||
|
||||
bool GetHasFile() const
|
||||
{
|
||||
return hasFile_;
|
||||
}
|
||||
private:
|
||||
const std::string bundleName_;
|
||||
bool hasFile_ = false;
|
||||
|
||||
Reference in New Issue
Block a user