Skip to content

Commit

Permalink
Merge pull request #714 from BallAerospace/legal_dialog_handle_newline
Browse files Browse the repository at this point in the history
Ignore newlines in crc.txt
  • Loading branch information
jmthomas authored Feb 9, 2018
2 parents 3c922eb + 73ad3cb commit 9b39674
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/cosmos/gui/dialogs/legal_dialog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ def check_crcs(base_path, filename, result_text, missing_text, file_type)
File.open(filename, 'r') do |file|
file.each_line do |line|
split_line = line.strip.scan(ConfigParser::PARSING_REGEX)
next unless split_line[0]
if split_line[0] == 'USER_MODIFIED'
official = false
next
Expand Down

0 comments on commit 9b39674

Please sign in to comment.