Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
23 lines
478 B
Diff
23 lines
478 B
Diff
diff --git a/util.py b/util.py
|
|
index bfec1ed..0546772 100644
|
|
--- a/util.py
|
|
+++ b/util.py
|
|
@@ -22,16 +22,7 @@ log = logging.getLogger("bot")
|
|
|
|
|
|
def solve_filepath(path):
|
|
- if not path:
|
|
- return ''
|
|
-
|
|
- if path[0] == '/':
|
|
- return path
|
|
- elif os.path.exists(path):
|
|
- return path
|
|
- else:
|
|
- mydir = os.path.dirname(os.path.realpath(__file__))
|
|
- return mydir + '/' + path
|
|
+ return path
|
|
|
|
|
|
def get_recursive_file_list_sorted(path):
|