Skip to content

Commit 24c13df

Browse files
committed
refactor: remove reduntant if-clause
1 parent 0147bfe commit 24c13df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/img-clip/fs.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ M.get_file_path = function(ext)
112112
return nil
113113
end
114114

115-
if input_filename and input_filename ~= "" then
115+
if input_filename ~= "" then
116116
file_path = dir_path .. input_filename
117117
end
118118
end

0 commit comments

Comments
 (0)