Skip to content

Commit

Permalink
Fix rubocop and fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
meatball133 committed Nov 9, 2024
1 parent d278534 commit 5c27b41
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/generator-tests.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
name: GeneratorTests

on:
pull_request:
workflow_dispatch:
push:
branches:
- main
schedule:
# Weekly.
- cron: '0 0 * * 0'
branches: [main]
pull_request:
branches: [main]

jobs:
test-generator-templates:
Expand Down
2 changes: 1 addition & 1 deletion generatorv2/lib/generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def get_remote_files
when Net::HTTPNotFound
check_for_local_canonical_data
else
raise "Error while requesting the #{@exercise} data file from GitHub... " +
raise "Error while requesting the #{@exercise} data file from GitHub... " \
"Status was #{response.code}"
end
end
Expand Down

0 comments on commit 5c27b41

Please sign in to comment.