@@ 270-272 (lines=3) @@ | ||
267 | $dir = Config::changesDir(); |
|
268 | if ( ! is_dir( $dir ) ) { |
|
269 | $this->askedNoChanges = true; |
|
270 | if ( ! $this->askToContinue( $input, $output, 'Changes directory does not exist, so there are no changes to write!' ) ) { |
|
271 | return array( self::NO_CHANGE_EXIT, null, null ); |
|
272 | } |
|
273 | return array( self::OK_EXIT, array(), array() ); |
|
274 | } |
|
275 | ||
@@ 285-287 (lines=3) @@ | ||
282 | } |
|
283 | if ( ! $changes && ! $this->askedNoChanges ) { |
|
284 | $this->askedNoChanges = true; |
|
285 | if ( ! $this->askToContinue( $input, $output, 'No changes were found!' ) ) { |
|
286 | return array( self::NO_CHANGE_EXIT, null, null ); |
|
287 | } |
|
288 | } |
|
289 | return array( self::OK_EXIT, $changes, $files ); |
|
290 | } |