Skip to content

Commit

Permalink
Add missing braces
Browse files Browse the repository at this point in the history
Co-authored-by: Alain Schlesser <alain.schlesser@gmail.com>
  • Loading branch information
swissspidy and schlessera authored Jul 4, 2022
1 parent 39e6cd9 commit f363648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MakeJsonCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ protected function make_json( $source_file, $destination, $map ) {
$domain = $translations->getDomain();

if ( $domain && 0 !== strpos( $base_file_name, $domain ) ) {
$base_file_name = "$domain-$base_file_name";
$base_file_name = "{$domain}-{$base_file_name}";
}

foreach ( $translations as $translation ) {
Expand Down

0 comments on commit f363648

Please sign in to comment.