Skip to content

Commit 9b1ac47

Browse files
committed
Use angularDest when trimming the angular tsd.d.ts file
1 parent 947b547 commit 9b1ac47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ module.exports = function(grunt) {
166166
]);
167167

168168
grunt.registerTask("fixAngularTsdDts", function() {
169-
var tsdFile = 'src/angular2/typings/tsd.d.ts'
169+
var tsdFile = path.join(angularDest, 'angular2/typings/tsd.d.ts');
170170
shelljs.sed('-i', /.*protractor.*\n/g, '', tsdFile);
171171
shelljs.sed('-i', /.*jasmine.*\n/g, '', tsdFile);
172172
shelljs.sed('-i', /.*selenium.*\n/g, '', tsdFile);

0 commit comments

Comments
 (0)