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 696a74c commit d467f20Copy full SHA for d467f20
lib/jekyll-compose/arg_parser.rb
@@ -11,11 +11,11 @@ def validate!
11
end
12
13
def type
14
- type = options["extension"] || Jekyll::Compose::DEFAULT_TYPE
+ options["extension"] || Jekyll::Compose::DEFAULT_TYPE
15
16
17
def layout
18
- layout = options["layout"] || Jekyll::Compose::DEFAULT_LAYOUT
+ options["layout"] || Jekyll::Compose::DEFAULT_LAYOUT
19
20
21
def title
@@ -27,6 +27,6 @@ def force?
27
28
29
def source
30
- source = config['source'].gsub(/^#{Regexp.quote(Dir.pwd)}/, '')
+ config['source'].gsub(/^#{Regexp.quote(Dir.pwd)}/, '')
31
32
0 commit comments