From 67692436c4160fd5eeb71440a9bd42db45bea7c6 Mon Sep 17 00:00:00 2001 From: Flaviu Porutiu Date: Wed, 29 Jan 2025 13:20:33 +0200 Subject: [PATCH] Ruby 3.3 compatibility - Changed removed File.exists to File.exist --- lib/git_bpf/commands/init.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/git_bpf/commands/init.rb b/lib/git_bpf/commands/init.rb index 122a563..fcd72ac 100644 --- a/lib/git_bpf/commands/init.rb +++ b/lib/git_bpf/commands/init.rb @@ -95,7 +95,7 @@ def execute(opts, argv) scripts = File.join(target.path, '.git', opts.script_dir_name) - if not File.exists? scripts + if not File.exist? scripts File.symlink source_path, scripts elsif File.symlink? scripts opoo "Symbolic link already exists."