Baptiste Beauplat pushed to branch master at snapshot / snapshot


Commits:
275fb403 by Baptiste Beauplat at 2025-02-01T17:59:32+01:00
Fix deprecated File.exists, removed in ruby 3.2

- - - - -
63402811 by Baptiste Beauplat at 2025-02-01T18:09:43+01:00
Merge branch 'fix/deprecated-exists'

Signed-off-by: Baptiste Beauplat <[email protected]>

- - - - -


1 changed file:

- snapshot


Changes:

=====================================
snapshot
=====================================
@@ -82,7 +82,7 @@ class FileBackend < StorageBackend
 
        def exists?(digest)
                target = _get_path(digest)
-               return File.exists?(target)
+               return File.exist?(target)
        end
 
        def store(source, digest)



View it on GitLab: 
https://salsa.debian.org/snapshot-team/snapshot/-/compare/9f93a38e0dff84f072d231ff331048fb10e69312...634028116a6306bd903eb4e438a554b54890aa35

-- 
View it on GitLab: 
https://salsa.debian.org/snapshot-team/snapshot/-/compare/9f93a38e0dff84f072d231ff331048fb10e69312...634028116a6306bd903eb4e438a554b54890aa35
You're receiving this email because of your account on salsa.debian.org.


Reply via email to