Skip to content

Conversation

jgfoster
Copy link
Member

Fix #307.

Copy link
Contributor

@prestoncarman prestoncarman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jgfoster jgfoster merged commit d058804 into Arduino-CI:master Sep 22, 2021
@jgfoster jgfoster deleted the free_memory branch September 22, 2021 21:57
Comment on lines +487 to +497
if ret
output = @backend.last_msg
puts output
i = output.index("leaving")
free_space = output[i + 8..-1].to_i
min_free_space = @cli_options[:min_free_space]
if free_space < min_free_space
puts "Free space of #{free_space} is less than minimum of #{min_free_space}"
ret = false
end
else
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will clean this up in #335

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants