Skip to content

Commit efa1931

Browse files
committed
Update version to 2.0.1-beta.8 and add an uninstall script
1 parent 0938a78 commit efa1931

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
*.sass text=auto
3131
*.less text=auto
3232
*.js text eol=lf
33+
*.json text eol=lf
3334
*.lisp text=auto
3435
*.clj text=auto
3536
*.sql text=auto
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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+
}

src/Azure.Functions.Cli/npm/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"name": "azure-functions-core-tools",
3-
"version": "2.0.1-beta.7",
3+
"version": "2.0.1-beta.8",
44
"description": "Azure Functions Core Tools",
55
"scripts": {
66
"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"
89
},
910
"author": "Microsoft",
1011
"license": "MIT",

0 commit comments

Comments
 (0)