Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

Commit db72bf2

Browse files
committed
Remove initial indentation
Signed-off-by: Julien 'Lta' BALLET <contact@lta.io>
1 parent 1119296 commit db72bf2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/generators/hyper/component_generator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def create_component_file
99
component_array = component.split('::')
1010
@modules = component_array[0..-2]
1111
@file_name = component_array.last
12-
@indent = 1
12+
@indent = 0
1313
template 'component_template.rb',
1414
File.join('app/hyperloop/components',
1515
@modules.map(&:downcase).join('/'),

lib/generators/hyper/router_generator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# component_array = component.split('::')
99
# @modules = component_array[0..-2]
1010
# @file_name = component_array.last
11-
# @indent = 1
11+
# @indent = 0
1212
# template 'router_template.rb',
1313
# File.join('app/views/components',
1414
# @modules.map(&:downcase).join('/'),

0 commit comments

Comments
 (0)