Skip to content

Commit 0676d08

Browse files
committed
Forgot updating the Azure.Storage.Netcore dependency for AzureRM.Storage.Netcore.
1 parent 345c9ce commit 0676d08

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/NetCorePsd1Sync/NetCorePsd1Sync/Program.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ private static void UpdateModuleVersions(string rmPath, Version newVersion)
8585
{
8686
netCoreDefinition.RequiredModules.First(rm => rm.ModuleName == "AzureRM.Profile.Netcore").ModuleVersion = newVersion;
8787
}
88+
if (netCoreDefinition.RequiredModules?.Any(rm => rm.ModuleName == "Azure.Storage.Netcore") ?? false)
89+
{
90+
netCoreDefinition.RequiredModules.First(rm => rm.ModuleName == "Azure.Storage.Netcore").ModuleVersion = newVersion;
91+
}
8892
File.WriteAllLines(netCoreFilePath, netCoreDefinition.ToDefinitionEntry());
8993
}
9094
}

0 commit comments

Comments
 (0)