Skip to content

Commit a0c2315

Browse files
committed
UnderConstruction: usesCustomUpgrader
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
1 parent b53b580 commit a0c2315

4 files changed

Lines changed: 5 additions & 6 deletions

File tree

Scalar.Common/Platforms/Linux/LinuxPlatform.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public partial class LinuxPlatform : POSIXPlatform
2121

2222
public LinuxPlatform() : base(
2323
underConstruction: new UnderConstructionFlags(
24-
supportsScalarUpgrade: false,
24+
usesCustomUpgrader: false,
2525
supportsScalarConfig: true,
2626
supportsNuGetEncryption: false,
2727
supportsNuGetVerification: false))

Scalar.Common/Platforms/Mac/MacPlatform.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
using System.IO;
88
using System.Linq;
99
using System.Runtime.InteropServices;
10-
using System.Text;
1110
using System.Xml;
1211
using System.Xml.Linq;
1312
using System.Xml.XPath;
@@ -18,7 +17,7 @@ public partial class MacPlatform : POSIXPlatform
1817
{
1918
public MacPlatform() : base(
2019
underConstruction: new UnderConstructionFlags(
21-
supportsScalarUpgrade: true,
20+
usesCustomUpgrader: false,
2221
supportsScalarConfig: true,
2322
supportsNuGetEncryption: false,
2423
supportsNuGetVerification: false))

Scalar.Common/Platforms/POSIX/POSIXPlatform.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public abstract partial class POSIXPlatform : ScalarPlatform
2121

2222
protected POSIXPlatform() : this(
2323
underConstruction: new UnderConstructionFlags(
24-
supportsScalarUpgrade: false,
24+
usesCustomUpgrader: false,
2525
supportsScalarConfig: false,
2626
supportsNuGetEncryption: false,
2727
supportsNuGetVerification: false))

Scalar.Common/ScalarPlatform.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,12 @@ public string ScalarUpgraderExecutableName
173173
public class UnderConstructionFlags
174174
{
175175
public UnderConstructionFlags(
176-
bool supportsScalarUpgrade = true,
176+
bool usesCustomUpgrader = true,
177177
bool supportsScalarConfig = true,
178178
bool supportsNuGetEncryption = true,
179179
bool supportsNuGetVerification = true)
180180
{
181-
this.UsesCustomUpgrader = supportsScalarUpgrade;
181+
this.UsesCustomUpgrader = usesCustomUpgrader;
182182
this.SupportsScalarConfig = supportsScalarConfig;
183183
this.SupportsNuGetEncryption = supportsNuGetEncryption;
184184
this.SupportsNuGetVerification = supportsNuGetVerification;

0 commit comments

Comments
 (0)