Skip to content

Commit

Permalink
Fixed formatting checks ignoring all files by accident
Browse files Browse the repository at this point in the history
  • Loading branch information
hhyyrylainen committed Aug 5, 2021
1 parent a97a045 commit 8e6d1b1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions check_formatting.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def ide_file?(path)
end

def explicitly_ignored?(path)
path =~ %r{/ThirdParty/}i || %r{/third_party/} || path =~ /GlobalSuppressions.cs/ ||
path =~ %r{/ThirdParty/}i || path =~ %r{/third_party/} || path =~ /GlobalSuppressions.cs/ ||
path =~ %r{/RubySetupSystem/}
end

Expand Down Expand Up @@ -466,15 +466,15 @@ def run_files
begin
if handle_file path
OUTPUT_MUTEX.synchronize do
puts 'Problems found in file (see above): ' + path
puts "Problems found in file (see above): #{path}"
puts ''
end
issues_found = true
end
rescue StandardError => e
OUTPUT_MUTEX.synchronize do
puts 'Failed to handle path: ' + path
puts 'Error: ' + e.message
puts "Failed to handle path: #{path}"
puts "Error: #{e.message}"
end
raise e
end
Expand Down
2 changes: 1 addition & 1 deletion simulation_parameters/common/music_tracks.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@
}
]
}
}
}
2 changes: 1 addition & 1 deletion simulation_parameters/microbe_stage/biomes.json
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@
"sunlight": {
"colour": {
"r": 0.972,
"g": 0.960,
"g": 0.96,
"b": 0.788,
"a": 1
},
Expand Down
2 changes: 1 addition & 1 deletion simulation_parameters/microbe_stage/organelles.json
Original file line number Diff line number Diff line change
Expand Up @@ -619,4 +619,4 @@
"iconPath": "res://assets/textures/gui/bevel/parts/NucleusIcon.png",
"unique": true
}
}
}
2 changes: 1 addition & 1 deletion src/microbe_stage/MicrobeHUD.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Globalization;
using Godot;
using Array = Godot.Collections.Array;
Expand Down

0 comments on commit 8e6d1b1

Please sign in to comment.