Skip to content

Commit

Permalink
Spelling.
Browse files Browse the repository at this point in the history
  • Loading branch information
weitzman committed Feb 6, 2017
1 parent af77262 commit 5a2a6dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion includes/preflight.inc
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ function drush_preflight_command_dispatch() {
*/
function drush_preflight_tilde_expansion(&$command) {
// Skip tilde expansion for commands that use
// stict option handling, or those that explicitly
// strict option handling, or those that explicitly
// turn it off via $command['tilde-expansion'] = FALSE.
if ($command['tilde-expansion'] && !$command['strict-option-handling']) {
$cli =& drush_get_context('cli');
Expand Down
4 changes: 3 additions & 1 deletion lib/Drush/Commands/core/StatusCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,9 @@ public static function pathAliases($options) {
}

// Add in all of the global paths from $options['path-aliases']
$paths = array_merge($paths, (array)$options['path-aliases']);
if (isset($options['path-aliases'])) {
$paths = array_merge($paths, $options['path-aliases']);
}

return $paths;
}
Expand Down

0 comments on commit 5a2a6dd

Please sign in to comment.