Skip to content

Commit ec64353

Browse files
tas50phiggins
andauthored
Update Rakefile
Signed-off-by: Tim Smith <[email protected]> Co-authored-by: pete higgins <[email protected]>
1 parent ef6ab50 commit ec64353

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ task :update_json_list do
4141
# get a sorted list of platforms from files in the platforms dir
4242
# but skip any hidden files and skip the fake chefspec platform
4343
plats = Dir.children("./lib/fauxhai/platforms/").sort
44-
.select { |v| !v.match?(/(^\.|chefspec)/) }
44+
.grep_v(/(^\.|chefspec)/)
4545
.to_h { |v| [v, {}] }
4646

4747
# add version, deprecated status, and file path to each platform

0 commit comments

Comments
 (0)