Skip to content

Commit

Permalink
Merge pull request #7 from danielbachhuber/patch-2
Browse files Browse the repository at this point in the history
Clarify logging strings
  • Loading branch information
miya0001 authored May 22, 2017
2 parents daceea0 + 4e258d3 commit 1557ae4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function __invoke( $args, $assoc_args )
if ( $result ) {
WP_CLI::success( $filename );
} else {
WP_CLI::success( "Movefile wasn't overwrited." );
WP_CLI::success( "Movefile wasn't overwritten." );
}
}
}
Expand All @@ -83,7 +83,7 @@ private function create_file( $filename, $contents, $force )
if ( $should_write_file ) {
$wp_filesystem->mkdir( dirname( $filename ) );
if ( ! $wp_filesystem->put_contents( $filename, $contents ) ) {
WP_CLI::error( "Error creating file: $filename" );
WP_CLI::error( "Could not create file: $filename" );
}
return true;
}
Expand Down

0 comments on commit 1557ae4

Please sign in to comment.