@@ 275-277 (lines=3) @@ | ||
272 | $dir = Config::changesDir(); |
|
273 | if ( ! is_dir( $dir ) ) { |
|
274 | $this->askedNoChanges = true; |
|
275 | if ( ! $this->askToContinue( $input, $output, 'Changes directory does not exist, so there are no changes to write!' ) ) { |
|
276 | return array( self::NO_CHANGE_EXIT, null, null ); |
|
277 | } |
|
278 | return array( self::OK_EXIT, array(), array() ); |
|
279 | } |
|
280 | ||
@@ 290-292 (lines=3) @@ | ||
287 | } |
|
288 | if ( ! $changes && ! $this->askedNoChanges ) { |
|
289 | $this->askedNoChanges = true; |
|
290 | if ( ! $this->askToContinue( $input, $output, 'No changes were found!' ) ) { |
|
291 | return array( self::NO_CHANGE_EXIT, null, null ); |
|
292 | } |
|
293 | } |
|
294 | return array( self::OK_EXIT, $changes, $files ); |
|
295 | } |