Merge "init: fix BuildTriggersString for empty string" am: 9b1d5e15ef am: 4286801ccb am: 8256062afc
am: db738953f4
Change-Id: I5d1650bd19e86bc1cab9affb746d622445bc3ec3
This commit is contained in:
commit
78331a6b2e
1 changed files with 3 additions and 1 deletions
|
|
@ -247,7 +247,9 @@ std::string Action::BuildTriggersString() const {
|
|||
result += event_trigger_;
|
||||
result += ' ';
|
||||
}
|
||||
result.pop_back();
|
||||
if (!result.empty()) {
|
||||
result.pop_back();
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue