File tree 2 files changed +2
-7
lines changed
2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -17,14 +17,11 @@ namespace Azure.Functions.Cli.Actions.LocalActions
17
17
internal class InstallExtensionAction : BaseAction
18
18
{
19
19
public string Package { get ; set ; }
20
+
20
21
public string Version { get ; set ; }
21
22
22
23
public string OutputPath { get ; set ; }
23
24
24
- public InstallExtensionAction ( )
25
- {
26
- }
27
-
28
25
public override ICommandLineParserResult ParseArgs ( string [ ] args )
29
26
{
30
27
Parser
Original file line number Diff line number Diff line change @@ -11,11 +11,9 @@ class ExtensionsHelper
11
11
{
12
12
public static async Task < string > EnsureExtensionsProjectExistsAsync ( )
13
13
{
14
- var extensionsDir = Path . Combine ( Environment . CurrentDirectory , "functions-extensions" ) ;
15
- var extensionsProj = Path . Combine ( extensionsDir , "extensions.csproj" ) ;
14
+ var extensionsProj = Path . Combine ( Environment . CurrentDirectory , "extensions.csproj" ) ;
16
15
if ( ! FileSystemHelpers . FileExists ( extensionsProj ) )
17
16
{
18
- FileSystemHelpers . EnsureDirectory ( extensionsDir ) ;
19
17
var assembly = typeof ( ExtensionsHelper ) . Assembly ;
20
18
var extensionsProjText = string . Empty ;
21
19
using ( Stream resource = assembly . GetManifestResourceStream ( assembly . GetName ( ) . Name + ".ExtensionsProj.txt" ) )
You can’t perform that action at this time.
0 commit comments