We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4114f7e commit ffc4282Copy full SHA for ffc4282
lib/arduino_ci/library_properties.rb
@@ -11,6 +11,8 @@ class LibraryProperties
11
# @param path [Pathname] The path to the library.properties file
12
def initialize(path)
13
@fields = {}
14
+ raise ArgumentError, "Library properties at '#{path}' doesn't exist" unless path.exist?
15
+
16
File.foreach(path) do |line_with_delim|
17
line = line_with_delim.chomp
18
parts = line.split("=", 2)
0 commit comments