Skip to content

Commit 001e2e4

Browse files
authored
Merge pull request #18 from artemeon/fix/config-path
Fix config.yaml overwritten on update
2 parents ba39540 + b4da1bc commit 001e2e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Command/ConfigurationCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
class ConfigurationCommand extends Command
1313
{
14-
protected string $configPath = __DIR__ . '/../../config.yaml';
14+
protected string $configPath = __DIR__ . '/../../../config.yaml';
1515
protected array $config = [];
1616

1717
private GithubConnector $githubConnector;

src/Config/ConfigReader.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class ConfigReader
1616
{
1717
public function read(): ?ConfigValues
1818
{
19-
$configFile = __DIR__ . '/../../config.yaml';
19+
$configFile = __DIR__ . '/../../../config.yaml';
2020

2121
if (!file_exists($configFile)) {
2222
return null;

0 commit comments

Comments
 (0)