Skip to content

Commit b894688

Browse files
committed
TypeScript is already installed on AppVeyor, use local install instead to get right version
1 parent fadc0d3 commit b894688

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
install:
2-
npm i -g tfx-cli typescript
2+
npm i -g tfx-cli
33

44
assembly_info:
55
patch: false

src/GitVersionTfsTask/BuildTs.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
param (
22
)
3-
Set-PSDebug -Trace 1
43

54
$scriptpath = $MyInvocation.MyCommand.Path
65
$dir = Split-Path $scriptpath
@@ -9,7 +8,7 @@ Write-Host $dir
98
Try
109
{
1110
& npm install
12-
& tsc
11+
& node_modules/.bin/tsc
1312
}
1413
Finally
1514
{

0 commit comments

Comments
 (0)