Rename IsCurrentRuntimeSupported() to SupportsCurrentRuntime().
This commit is contained in:
parent
283bf7139e
commit
f065a29704
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ namespace Microsoft.DotNet.Cli.Utils
|
||||||
// osx.10.11, the project.json "runtimes" section cannot contain osx.10.12, since
|
// osx.10.11, the project.json "runtimes" section cannot contain osx.10.12, since
|
||||||
// that RID isn't contained in the runtime graph - users will get a restore error.
|
// that RID isn't contained in the runtime graph - users will get a restore error.
|
||||||
FrameworkDependencyFile fxDepsFile = new FrameworkDependencyFile();
|
FrameworkDependencyFile fxDepsFile = new FrameworkDependencyFile();
|
||||||
if (!fxDepsFile.IsCurrentRuntimeSupported())
|
if (!fxDepsFile.SupportsCurrentRuntime())
|
||||||
{
|
{
|
||||||
string buildRid = DotnetFiles.VersionFileObject.BuildRid;
|
string buildRid = DotnetFiles.VersionFileObject.BuildRid;
|
||||||
if (!string.IsNullOrEmpty(buildRid))
|
if (!string.IsNullOrEmpty(buildRid))
|
||||||
|
|
|
@ -21,7 +21,7 @@ namespace Microsoft.DotNet.Cli.Utils
|
||||||
_depsFilePath = Muxer.GetDataFromAppDomain("FX_DEPS_FILE");
|
_depsFilePath = Muxer.GetDataFromAppDomain("FX_DEPS_FILE");
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool IsCurrentRuntimeSupported()
|
public bool SupportsCurrentRuntime()
|
||||||
{
|
{
|
||||||
return IsRuntimeSupported(RuntimeEnvironment.GetRuntimeIdentifier());
|
return IsRuntimeSupported(RuntimeEnvironment.GetRuntimeIdentifier());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue