utils/github/actions: remove Error class
This commit is contained in:
parent
27bb6ff1dd
commit
30845593cc
@ -27,7 +27,7 @@ module GitHub
|
|||||||
delimiter = "ghadelimiter_#{SecureRandom.uuid}"
|
delimiter = "ghadelimiter_#{SecureRandom.uuid}"
|
||||||
|
|
||||||
if name.include?(delimiter) || value.include?(delimiter)
|
if name.include?(delimiter) || value.include?(delimiter)
|
||||||
raise Error, "`name` and `value` must not contain the delimiter"
|
raise "`name` and `value` must not contain the delimiter"
|
||||||
end
|
end
|
||||||
|
|
||||||
<<~EOS
|
<<~EOS
|
||||||
@ -104,9 +104,5 @@ module GitHub
|
|||||||
@file.descend.next.to_s != ".."
|
@file.descend.next.to_s != ".."
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Generic GitHub Actions error.
|
|
||||||
class Error < RuntimeError
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user