mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 04:40:09 +01:00
Fix Travis build failing
To fix the following offense ```sh Offenses: Gemfile:11:5: C: Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols. (https://github.com/rubocop-hq/ruby-style-guide#consistent-string-literals) gem "jekyll-github-metadata" ^^^^^^^^^^^^^^^^^^^^^^^^ 14 files inspected, 1 offense detected ``` Added comments
This commit is contained in:
parent
bb8ad22c89
commit
8af4fb87c5
3
Gemfile
3
Gemfile
@ -8,7 +8,8 @@ versions = JSON.parse(open('https://pages.github.com/versions.json').read)
|
|||||||
|
|
||||||
gem 'github-pages', versions['github-pages']
|
gem 'github-pages', versions['github-pages']
|
||||||
|
|
||||||
gem "jekyll-github-metadata"
|
# For 'Improve this page' links
|
||||||
|
gem 'jekyll-github-metadata'
|
||||||
|
|
||||||
group :development do
|
group :development do
|
||||||
gem 'colored'
|
gem 'colored'
|
||||||
|
@ -40,7 +40,7 @@ plugins:
|
|||||||
- jekyll-redirect-from
|
- jekyll-redirect-from
|
||||||
- jekyll-seo-tag
|
- jekyll-seo-tag
|
||||||
- jekyll-coffeescript
|
- jekyll-coffeescript
|
||||||
- jekyll-github-metadata
|
- jekyll-github-metadata # For 'Improve this page' links
|
||||||
|
|
||||||
|
|
||||||
sass:
|
sass:
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
<div class="sidebar">
|
<div class="sidebar">
|
||||||
|
|
||||||
|
<!-- Adds the `Github Link` for the corresponding page page -->
|
||||||
{% github_edit_link "Help improve this page" %}
|
{% github_edit_link "Help improve this page" %}
|
||||||
|
|
||||||
<a href="#" data-clipboard-target="#license-text" data-proofer-ignore="true" class="js-clipboard-button button">Copy license text to clipboard</a>
|
<a href="#" data-clipboard-target="#license-text" data-proofer-ignore="true" class="js-clipboard-button button">Copy license text to clipboard</a>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user