Skip to content

Commit

Permalink
- fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilpiech97 committed Sep 17, 2024
1 parent 3a5eaa3 commit 270c286
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
"scripts": {
"cs": "./vendor/bin/php-cs-fixer fix --dry-run --diff --config codestyle.php",
"csf": "./vendor/bin/php-cs-fixer fix --diff --config codestyle.php",
"test": "./vendor/bin/phpunit tests --colors=always"
"test": "./vendor/bin/phpunit tests --colors=always",
"post-install-cmd": [
"chmod +x src/scripts/version.sh",
"chmod +x src/scripts/check.sh"
]
}
}
2 changes: 1 addition & 1 deletion src/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class Version
{
public const string SCRIPTS_DIRECTORY = "src/scripts/";
public const string SCRIPTS_DIRECTORY = __DIR__ . "/scripts/";

public function __construct(
public bool $long = false,
Expand Down

0 comments on commit 270c286

Please sign in to comment.