We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d448343 commit a52f643Copy full SHA for a52f643
lib/tasks/web.rake
@@ -28,6 +28,7 @@ namespace :slack do
28
].flatten.each_with_object({}) do |path, result|
29
file_name = File.basename(path, '.json')
30
next if File.dirname(path).split('/').last.start_with?('_') # skip _common, _errors, etc.
31
+
32
prefix = file_name.split('.')[0..-2].join('.')
33
name = file_name.split('.')[-1]
34
result[prefix] ||= {}
0 commit comments