Skip to content

Commit

Permalink
Merge pull request #400 from saas786/syed/patch-windows-issue
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy authored May 14, 2024
2 parents aa8338b + aa846b3 commit 6d58aa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MakePotCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ protected function extract_strings() {

if ( $this->main_file_path && $this->location ) {
$translation->addReference(
ltrim( str_replace( "$this->source/", '', Utils\normalize_path( $this->main_file_path ) ), '/' )
ltrim( str_replace( Utils\normalize_path( "$this->source/" ), '', Utils\normalize_path( $this->main_file_path ) ), '/' )
);
}

Expand Down

0 comments on commit 6d58aa5

Please sign in to comment.