File tree 3 files changed +17
-2
lines changed
src/Azure.Functions.Cli/npm
3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 30
30
* .sass text =auto
31
31
* .less text =auto
32
32
* .js text eol =lf
33
+ * .json text eol =lf
33
34
* .lisp text =auto
34
35
* .clj text =auto
35
36
* .sql text =auto
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env node
2
+
3
+ var path = require ( 'path' ) ;
4
+ var fs = require ( 'fs' ) ;
5
+ var os = require ( 'os' ) ;
6
+ var rimraf = require ( 'rimraf' ) ;
7
+
8
+
9
+ var bin = path . join ( os . homedir ( ) , '.azurefunctions' , 'bin' ) ;
10
+ if ( fs . existsSync ( bin ) ) {
11
+ console . log ( 'deleting ' + bin ) ;
12
+ rimraf . sync ( bin ) ;
13
+ }
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " azure-functions-core-tools" ,
3
- "version" : " 2.0.1-beta.7 " ,
3
+ "version" : " 2.0.1-beta.8 " ,
4
4
"description" : " Azure Functions Core Tools" ,
5
5
"scripts" : {
6
6
"build" : " dotnet publish ../ -o ./npm/bin -c release" ,
7
- "postinstall" : " node lib/install.js"
7
+ "postinstall" : " node lib/install.js" ,
8
+ "uninstall" : " node lib/uninstall.js"
8
9
},
9
10
"author" : " Microsoft" ,
10
11
"license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments