Skip to content

Commit

Permalink
Merge pull request #56 from Codeinwp/fix_diff
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
selul authored May 28, 2019
2 parents f7395c8 + df6bb12 commit d95b407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Modules/Endpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ private function generate_diff( $product, $files, $recurse = false ) {

// fetch the calculated hashes.
if ( ! $wp_filesystem->is_readable( $path . '/' . self::HASH_FILE ) ) {
return new WP_Error( 'themeisle_sdk_hash_not_found', sprintf( '%s not found', self::HASH_FILE ) );
return new \WP_Error( 'themeisle_sdk_hash_not_found', sprintf( '%s not found', self::HASH_FILE ) );
}

$hashes = json_decode( $wp_filesystem->get_contents( $path . '/' . self::HASH_FILE ), true );
Expand Down

0 comments on commit d95b407

Please sign in to comment.