File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ class DeployStaticOptions
81
81
/**
82
82
* Key for js-bundle option
83
83
*/
84
- const NO_JS_BUNLDE = 'no-js-bundle ' ;
84
+ const NO_JS_BUNDLE = 'no-js-bundle ' ;
85
85
86
86
/**
87
87
* Key for css option
@@ -281,7 +281,7 @@ private function getSkipOptions()
281
281
'Do not deploy JavaScript files. '
282
282
),
283
283
new InputOption (
284
- self ::NO_JS_BUNLDE ,
284
+ self ::NO_JS_BUNDLE ,
285
285
null ,
286
286
InputOption::VALUE_NONE ,
287
287
'Do not deploy JavaScript bundle files. '
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ public function deploy(array $options)
128
128
}
129
129
}
130
130
131
- if ($ options [Options::NO_JAVASCRIPT ] !== true && $ options [Options::NO_JS_BUNLDE ] !== true ) {
131
+ if ($ options [Options::NO_JAVASCRIPT ] !== true && $ options [Options::NO_JS_BUNDLE ] !== true ) {
132
132
$ deployBundle = $ this ->objectManager ->create (Bundle::class, [
133
133
'logger ' => $ this ->logger
134
134
]);
Original file line number Diff line number Diff line change @@ -228,13 +228,13 @@ public function deployDataProvider()
228
228
public function testMaxExecutionTimeOptionPassed ()
229
229
{
230
230
$ options = [
231
- DeployStaticOptions::MAX_EXECUTION_TIME => 100 ,
231
+ DeployStaticOptions::MAX_EXECUTION_TIME => 100 ,
232
232
DeployStaticOptions::REFRESH_CONTENT_VERSION_ONLY => false ,
233
- DeployStaticOptions::JOBS_AMOUNT => 3 ,
234
- DeployStaticOptions::STRATEGY => 'compact ' ,
235
- DeployStaticOptions::NO_JAVASCRIPT => true ,
236
- DeployStaticOptions::NO_JS_BUNLDE => true ,
237
- DeployStaticOptions::NO_HTML_MINIFY => true ,
233
+ DeployStaticOptions::JOBS_AMOUNT => 3 ,
234
+ DeployStaticOptions::STRATEGY => 'compact ' ,
235
+ DeployStaticOptions::NO_JAVASCRIPT => true ,
236
+ DeployStaticOptions::NO_JS_BUNDLE => true ,
237
+ DeployStaticOptions::NO_HTML_MINIFY => true ,
238
238
];
239
239
240
240
$ queueMock = $ this ->createMock (Queue::class);
You can’t perform that action at this time.
0 commit comments