Skip to content

Commit 39e41ce

Browse files
committed
Merging dev
2 parents 0593816 + fccb642 commit 39e41ce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/WebJobs.Script/Description/DotNet/PackageManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public Task<PackageRestoreResult> RestorePackagesAsync()
7777
var result = new PackageRestoreResult
7878
{
7979
IsInitialInstall = string.IsNullOrEmpty(currentLockFileHash),
80-
ReferencesChanged = string.Equals(currentLockFileHash, newLockFileHash),
80+
ReferencesChanged = !string.Equals(currentLockFileHash, newLockFileHash),
8181
};
8282

8383
tcs.SetResult(result);

src/WebJobs.Script/Host/ScriptHost.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1139,7 +1139,7 @@ private void OnFileChanged(object sender, FileSystemEventArgs e)
11391139
{
11401140
bool shutdown = false;
11411141
string fileExtension = Path.GetExtension(fileName);
1142-
if (string.IsNullOrEmpty(fileExtension) && ScriptConstants.AssemblyFileTypes.Contains(fileExtension, StringComparer.OrdinalIgnoreCase))
1142+
if (!string.IsNullOrEmpty(fileExtension) && ScriptConstants.AssemblyFileTypes.Contains(fileExtension, StringComparer.OrdinalIgnoreCase))
11431143
{
11441144
shutdown = true;
11451145
}

0 commit comments

Comments
 (0)