Skip to content

Commit

Permalink
Merge pull request #81 from EOSIO/fix-empty-default-master
Browse files Browse the repository at this point in the history
Fix for empty ("") appbase config default value
  • Loading branch information
heifner committed Jun 2, 2020
2 parents 38683dc + 4675ab6 commit 27dd692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application.cpp
Expand Up @@ -465,7 +465,7 @@ void application::print_default_config(std::ostream& os) {
else {
// The string is formatted "arg (=<interesting part>)"
example.erase(0, 6);
example.erase(example.length()-1);
if(!example.empty()) example.erase(example.length()-1);
os << "# " << od->long_name() << " = " << example << std::endl;
}
}
Expand Down

0 comments on commit 27dd692

Please sign in to comment.