Skip to content

Commit

Permalink
removing unnecessary trim for EIGHTSHIFT_DI_CACHE_FOLDER constant
Browse files Browse the repository at this point in the history
  • Loading branch information
iruzevic committed Sep 20, 2024
1 parent ca054a6 commit 347592b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file.

This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a CHANGELOG](https://keepachangelog.com/).

## [9.1.5]

### Fixed
- Unnecessary trim for `EIGHTSHIFT_DI_CACHE_FOLDER` constant.

## [9.1.4]

### Fixed
Expand Down Expand Up @@ -653,6 +658,7 @@ Init setup

[Unreleased]: https://github.com/infinum/eightshift-libs/compare/main...HEAD

[9.1.5]: https://github.com/infinum/eightshift-libs/compare/9.1.4...9.1.5
[9.1.4]: https://github.com/infinum/eightshift-libs/compare/9.1.3...9.1.4
[9.1.3]: https://github.com/infinum/eightshift-libs/compare/9.1.2...9.1.3
[9.1.2]: https://github.com/infinum/eightshift-libs/compare/9.1.1...9.1.2
Expand Down
2 changes: 1 addition & 1 deletion src/Main/AbstractMain.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function getCachedFolderPath(): string
$cacheFolder = __DIR__ . "{$sep}Cache";

if (\defined('EIGHTSHIFT_DI_CACHE_FOLDER')) {
$cacheFolder = \trim(\EIGHTSHIFT_DI_CACHE_FOLDER, $sep);
$cacheFolder = \rtrim(\EIGHTSHIFT_DI_CACHE_FOLDER, $sep);
}

return $cacheFolder;
Expand Down

0 comments on commit 347592b

Please sign in to comment.