File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 5
5
- features/support/load_tests.rb :
6
6
- Style/For
7
7
- Security/Open
8
- - Lint/UselessAssignment
9
8
- lib/csvlint/cli.rb :
10
9
- Style/NonNilCheck
11
10
- lib/csvlint/csvw/column.rb :
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ def cache_file(filename)
26
26
f . puts URI . open ( uri , "rb" ) . read
27
27
end
28
28
end
29
- [ uri , file ]
29
+ uri
30
30
end
31
31
32
32
unless File . exist? SCRIPT_FILE_PATH
@@ -66,7 +66,7 @@ def cache_file(filename)
66
66
file . puts ""
67
67
68
68
manifest [ "entries" ] . each do |entry |
69
- action_uri , action_file = cache_file ( entry [ "action" ] )
69
+ action_uri = cache_file ( entry [ "action" ] )
70
70
metadata = nil
71
71
provided_files = [ ]
72
72
missing_files = [ ]
@@ -98,7 +98,7 @@ def cache_file(filename)
98
98
missing_files << URI . join ( action_uri , "csv-metadata.json" ) . to_s
99
99
end
100
100
entry [ "implicit" ] &.each do |implicit |
101
- implicit_uri , implicit_file = cache_file ( implicit )
101
+ implicit_uri = cache_file ( implicit )
102
102
provided_files << implicit_uri . to_s
103
103
unless implicit_uri == metadata
104
104
file . puts "\t \t And I have a file called \" csvw/#{ implicit } \" at the url \" #{ implicit_uri } \" "
You can’t perform that action at this time.
0 commit comments