Skip to content

Commit

Permalink
Merge branch 'master' into package-index-will-be-closed
Browse files Browse the repository at this point in the history
  • Loading branch information
miya0001 committed Jul 18, 2017
2 parents 5509214 + 1557ae4 commit 6a9c12a
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 6a9c12a

Please sign in to comment.