Skip to content

Commit

Permalink
Removed is null checks for file name in installationUtil. (bunq#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
OGKevin committed Apr 9, 2018
1 parent 5101158 commit ecb86bb
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/Util/InstallationUtil.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,7 @@ public static function interactiveInstall()

$contextFileName = static::readLineOrNull(self::PROMPT_CONTEXT_FILE);

if ($contextFileName === null) {
$context->save();
} else {
$context->save($contextFileName);
}
$context->save($contextFileName);
}

/**
Expand Down Expand Up @@ -286,11 +282,7 @@ public static function automaticInstall(
);
$methodInitializeSessionContext->invoke($context);

if ($contextFileName === null) {
$context->save();
} else {
$context->save($contextFileName);
}
$context->save($contextFileName);
}

/**
Expand Down

0 comments on commit ecb86bb

Please sign in to comment.