File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -78,12 +78,9 @@ export namespace bundleFeedUtils {
7878 return ( ! template . isHttpTrigger && ! template . isTimerTrigger ) || bundleTemplateTypes . some ( t => isTemplateOfType ( template , t ) ) ;
7979 }
8080
81- export async function getLatestVersionRange ( _context : IActionContext ) : Promise < string > {
82- // const feed: IBundleFeed = await getBundleFeed(context, undefined);
83- // return feed.defaultVersionRange;
84- // New default bundle version causes issues (ex: https://github.com/microsoft/vscode-azurefunctions/issues/3711)
85- // Using old version range as seen in https://github.com/Azure/azure-functions-host/pull/9324
86- return '[3.*, 4.0.0)' ;
81+ export async function getLatestVersionRange ( context : IActionContext ) : Promise < string > {
82+ const feed : IBundleFeed = await getBundleFeed ( context , undefined ) ;
83+ return feed . defaultVersionRange ;
8784 }
8885
8986 export async function addDefaultBundle ( context : IActionContext , hostJson : IHostJsonV2 ) : Promise < void > {
You can’t perform that action at this time.
0 commit comments