Skip to content

Commit bce2cfb

Browse files
Morriarparacycle
andcommitted
Rename compiler_path -> compilers_path
Co-authored-by: Ufuk Kayserilioglu <ufuk.kayserilioglu@shopify.com> Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com>
1 parent b3fbbe4 commit bce2cfb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lib/tapioca/cli.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def dsl(*constants)
124124
only: options[:only],
125125
exclude: options[:exclude],
126126
file_header: options[:file_header],
127-
compiler_path: Tapioca::Dsl::Compilers::DIRECTORY,
127+
compilers_path: Tapioca::Dsl::Compilers::DIRECTORY,
128128
tapioca_path: TAPIOCA_DIR,
129129
should_verify: options[:verify],
130130
quiet: options[:quiet],

lib/tapioca/commands/dsl.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Dsl < Command
1414
only: T::Array[String],
1515
exclude: T::Array[String],
1616
file_header: T::Boolean,
17-
compiler_path: String,
17+
compilers_path: String,
1818
tapioca_path: String,
1919
should_verify: T::Boolean,
2020
quiet: T::Boolean,
@@ -31,7 +31,7 @@ def initialize(
3131
only:,
3232
exclude:,
3333
file_header:,
34-
compiler_path:,
34+
compilers_path:,
3535
tapioca_path:,
3636
should_verify: false,
3737
quiet: false,
@@ -46,7 +46,7 @@ def initialize(
4646
@only = only
4747
@exclude = exclude
4848
@file_header = file_header
49-
@compiler_path = compiler_path
49+
@compilers_path = compilers_path
5050
@tapioca_path = tapioca_path
5151
@should_verify = should_verify
5252
@quiet = quiet
@@ -63,7 +63,7 @@ def initialize(
6363
def execute
6464
Loaders::Dsl.load_application(
6565
tapioca_path: @tapioca_path,
66-
compilers_path: @compiler_path,
66+
compilers_path: @compilers_path,
6767
eager_load: @requested_constants.empty?
6868
)
6969

0 commit comments

Comments
 (0)