mirror of
https://github.com/tw93/Mole.git
synced 2026-02-14 17:37:26 +00:00
chore: auto format code
This commit is contained in:
@@ -159,8 +159,8 @@ is_bundle_orphaned() {
|
|||||||
esac
|
esac
|
||||||
if [[ -e "$directory_path" ]]; then
|
if [[ -e "$directory_path" ]]; then
|
||||||
local last_modified_epoch=$(get_file_mtime "$directory_path")
|
local last_modified_epoch=$(get_file_mtime "$directory_path")
|
||||||
local current_epoch
|
local current_epoch
|
||||||
current_epoch=$(get_epoch_seconds)
|
current_epoch=$(get_epoch_seconds)
|
||||||
local days_since_modified=$(((current_epoch - last_modified_epoch) / 86400))
|
local days_since_modified=$(((current_epoch - last_modified_epoch) / 86400))
|
||||||
if [[ $days_since_modified -lt ${ORPHAN_AGE_THRESHOLD:-60} ]]; then
|
if [[ $days_since_modified -lt ${ORPHAN_AGE_THRESHOLD:-60} ]]; then
|
||||||
return 1
|
return 1
|
||||||
|
|||||||
Reference in New Issue
Block a user