Fix newly added --no-source variations

This commit is contained in:
Wei Wang 2015-03-30 17:09:51 -07:00
parent a7fb1fdb2d
commit 2aaeedc48a
1 changed files with 4 additions and 4 deletions

View File

@ -219,7 +219,7 @@ namespace E2ETests
// Work around for https://github.com/aspnet/dnx/issues/1515
string backup_Dnx_Packages = string.Empty;
if (startParameters.BundleWithNoSource)
if (startParameters.PublishWithNoSource)
{
backup_Dnx_Packages = Environment.GetEnvironmentVariable("DNX_PACKAGES");
Environment.SetEnvironmentVariable("DNX_PACKAGES", string.Empty);
@ -228,7 +228,7 @@ namespace E2ETests
var hostProcess = Process.Start(startInfo);
logger.LogInformation("Started iisexpress. Process Id : {processId}", hostProcess.Id);
if (startParameters.BundleWithNoSource)
if (startParameters.PublishWithNoSource)
{
// Roll back the change.
Environment.SetEnvironmentVariable("DNX_PACKAGES", backup_Dnx_Packages);
@ -252,7 +252,7 @@ namespace E2ETests
// Work around for https://github.com/aspnet/dnx/issues/1515
string backup_Dnx_Packages = string.Empty;
if (startParameters.BundleWithNoSource)
if (startParameters.PublishWithNoSource)
{
backup_Dnx_Packages = Environment.GetEnvironmentVariable("DNX_PACKAGES");
Environment.SetEnvironmentVariable("DNX_PACKAGES", string.Empty);
@ -260,7 +260,7 @@ namespace E2ETests
var hostProcess = Process.Start(startInfo);
if (startParameters.BundleWithNoSource)
if (startParameters.PublishWithNoSource)
{
// Roll back the change.
Environment.SetEnvironmentVariable("DNX_PACKAGES", backup_Dnx_Packages);