X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FupdateExtensionJsonSchema.php;h=264f4be1d6990a7d17e6ac43af1a9ae86679252a;hb=e3a869de07016defcf87ed014b6a6ddf986c6732;hp=427769f19f1a164aa18d69eefd926607ec7b08ab;hpb=cf8b6e8b21713eebfac96dfbf2f3ccb88c8032e3;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/updateExtensionJsonSchema.php b/maintenance/updateExtensionJsonSchema.php index 427769f19f..264f4be1d6 100644 --- a/maintenance/updateExtensionJsonSchema.php +++ b/maintenance/updateExtensionJsonSchema.php @@ -14,12 +14,12 @@ class UpdateExtensionJsonSchema extends Maintenance { public function execute() { $filename = $this->getArg( 0 ); if ( !is_readable( $filename ) ) { - $this->error( "Error: Unable to read $filename", 1 ); + $this->fatalError( "Error: Unable to read $filename" ); } $json = FormatJson::decode( file_get_contents( $filename ), true ); if ( $json === null ) { - $this->error( "Error: Invalid JSON", 1 ); + $this->fatalError( "Error: Invalid JSON" ); } if ( !isset( $json['manifest_version'] ) ) {