Skip to content

Commit

Permalink
fix: fix app_version warnings (monicahq/chandler#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin authored Jan 16, 2023
1 parent 15d15a3 commit b9e32e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/monica.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
|
*/

'app_version' => trim(is_file(__DIR__.'/.version') ? file_get_contents(__DIR__.'/.version') : (is_dir(__DIR__.'/../.git') ? (($v = trim(exec('git --git-dir '.base_path('.git').' describe --abbrev=0 --tags'))) != '' ? $v : '0.0.0') : '')),
'app_version' => trim(is_file(__DIR__.'/.version') ? file_get_contents(__DIR__.'/.version') : (is_dir(__DIR__.'/../.git') ? (($v = trim(exec('git --git-dir '.base_path('.git').' describe --abbrev=0 --tags 2>/dev/null'))) != '' ? $v : '0.0.0') : '0.0.0')),

/*
|--------------------------------------------------------------------------
Expand Down

0 comments on commit b9e32e9

Please sign in to comment.