Skip to content

Commit

Permalink
Clarify logging strings
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbachhuber authored May 22, 2017
1 parent daceea0 commit 4e258d3
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 4e258d3

Please sign in to comment.