Skip to content

Commit 48926cd

Browse files
committed
(chocolatey#886) Fix referenced property names
A mistake was made in previous commit, where property name was changed to use a more consistent version, however, the wrong property name was changed, and this wasn't tested before pushing up the commit.
1 parent 5e2521f commit 48926cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/chocolatey/infrastructure.app/services/ChocolateyPackageService.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ private IEnumerable<ChocolateyConfiguration> get_packages_from_config(string pac
740740
if (Enum.TryParse(pkgSettings.Source, true, out sourceType)) packageConfig.SourceType = sourceType;
741741
if (pkgSettings.PinPackage) packageConfig.PinPackage = true;
742742
if (pkgSettings.Force) packageConfig.Force = true;
743-
packageConfig.CommandExecutionTimeoutSeconds = pkgSettings.ExecutionTimeout == -1 ? packageConfig.ExecutionTimeout : pkgSettings.CommandExecutionTimeoutSeconds;
743+
packageConfig.CommandExecutionTimeoutSeconds = pkgSettings.ExecutionTimeout == -1 ? packageConfig.CommandExecutionTimeoutSeconds : pkgSettings.ExecutionTimeout;
744744
if (pkgSettings.Prerelease) packageConfig.Prerelease = true;
745745
if (pkgSettings.OverrideArguments) packageConfig.OverrideArguments = true;
746746
if (pkgSettings.NotSilent) packageConfig.NotSilent = true;

0 commit comments

Comments
 (0)