We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1b86d17 + 670fb78 commit 0041266Copy full SHA for 0041266
php/commands/src/CLI_Command.php
@@ -259,7 +259,8 @@ public function update( $_, $assoc_args ) {
259
if ( false === chmod( $temp, $mode ) ) {
260
EE::error( sprintf( 'Cannot chmod %s.', $temp ) );
261
}
262
- class_exists( '\cli\Colors' ); // This autoloads \cli\Colors - after we move the file we no longer have access to this class.
+ class_exists( '\cli\Streams' ); // This autoloads \cli\Streams - after we move the file we no longer have access to this class.
263
+ class_exists( '\cli\Colors' ); // This autoloads \cli\Colors
264
if ( false === rename( $temp, $old_phar ) ) {
265
EE::error( sprintf( 'Cannot move %s to %s', $temp, $old_phar ) );
266
0 commit comments