Skip to content

Commit d8eda7f

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

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
@@ -52,7 +52,7 @@ public partial class LinuxPlatform : POSIXPlatform
5252

5353
public LinuxPlatform() : base(
5454
underConstruction: new UnderConstructionFlags(
55-
supportsScalarUpgrade: false,
55+
usesCustomUpgrader: false,
5656
supportsScalarConfig: true,
5757
supportsNuGetEncryption: false,
5858
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;
@@ -29,7 +28,7 @@ public partial class MacPlatform : POSIXPlatform
2928

3029
public MacPlatform() : base(
3130
underConstruction: new UnderConstructionFlags(
32-
supportsScalarUpgrade: true,
31+
usesCustomUpgrader: false,
3332
supportsScalarConfig: true,
3433
supportsNuGetEncryption: false,
3534
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)