Skip to content

Commit 95af179

Browse files
Bohdan Korablovoshmyheliuk
authored andcommitted
MAGECLOUD-1578: Option skip_csd doesn't work if set using build_options.ini file (#145)
1 parent 0ccf3cc commit 95af179

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Config/Stage/Build.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ private function getDeprecatedConfig(): array
130130
}
131131

132132
if (isset($buildConfig['skip_scd'])) {
133-
$result[self::VAR_SKIP_SCD] = $buildConfig['skip_scd'] === 'yes';
133+
$result[self::VAR_SKIP_SCD] = $buildConfig['skip_scd'] === '1';
134134
}
135135

136136
if (isset($buildConfig['VERBOSE_COMMANDS'])) {

src/Test/Unit/Config/Stage/BuildTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ public function getDataProvider(): array
318318
],
319319
],
320320
[
321-
'skip_scd' => 'yes',
321+
'skip_scd' => '1',
322322
],
323323
true,
324324
],

0 commit comments

Comments
 (0)