Skip to content

Commit

Permalink
Merge pull request #18 from artemeon/fix/config-path
Browse files Browse the repository at this point in the history
Fix config.yaml overwritten on update
  • Loading branch information
marcreichel authored Feb 17, 2022
2 parents ba39540 + b4da1bc commit 001e2e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Command/ConfigurationCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class ConfigurationCommand extends Command
{
protected string $configPath = __DIR__ . '/../../config.yaml';
protected string $configPath = __DIR__ . '/../../../config.yaml';
protected array $config = [];

private GithubConnector $githubConnector;
Expand Down
2 changes: 1 addition & 1 deletion src/Config/ConfigReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ConfigReader
{
public function read(): ?ConfigValues
{
$configFile = __DIR__ . '/../../config.yaml';
$configFile = __DIR__ . '/../../../config.yaml';

if (!file_exists($configFile)) {
return null;
Expand Down

0 comments on commit 001e2e4

Please sign in to comment.