Skip to content

Commit 3793099

Browse files
committed
Fix: Rake task typo.
1 parent 179f70d commit 3793099

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ git push origin my-feature-branch -f
7676
#### Re-generate Docs
7777

7878
```
79-
rake api:methods:update
79+
rake api:update
8080
```
8181

8282
#### Be Patient

tasks/methods.rake

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ namespace :api do
1212
abort "Invalid file format: #{file}" unless validator.valid?(file)
1313
end
1414
end
15-
end
1615

17-
desc 'Update methods and events.'
18-
task :update do
19-
Rake::Task['api:clean_files'].invoke('methods')
20-
Rake::Task['api:clean_files'].invoke('groups')
21-
SlackApi::MethodsGenerator.new.generate!
16+
desc 'Update methods.'
17+
task :update do
18+
Rake::Task['api:clean_files'].invoke('methods')
19+
Rake::Task['api:clean_files'].invoke('groups')
20+
SlackApi::MethodsGenerator.new.generate!
21+
end
2222
end
2323
end

0 commit comments

Comments
 (0)