Skip to content

Commit 0e0f955

Browse files
fix: Fix autoload file path required by php-commitizen
1 parent adfe966 commit 0e0f955

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@
3636
}
3737
},
3838
"bin": [
39-
"bin/php-commitizen"
39+
"php-commitizen"
4040
]
4141
}

bin/php-commitizen renamed to php-commitizen

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ foreach ([__DIR__ . '/../../autoload.php', __DIR__ . '/../vendor/autoload.php',
1515
}
1616

1717
try {
18-
$configuration = require __DIR__ . '/../.php-commitizen.php';
18+
$configuration = require __DIR__ . '/.php-commitizen.php';
1919
$app = new Application('PHP Commitizen');
2020
$app->add(new \Damianopetrungaro\PHPCommitizen\CommitCommand($configuration, new CreateConventionalCommit()));
2121
$app->run();

0 commit comments

Comments
 (0)