Commit 0a766b2 1 parent 6ca04cf commit 0a766b2 Copy full SHA for 0a766b2
File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,14 @@ module.exports = {
9
9
console . log ( '##teamcity[testSuiteStarted name=\'lesshint\']' ) ;
10
10
11
11
errors . forEach ( function ( err ) {
12
- if ( lastFile !== err . fullPath ) {
12
+ var errFile = err . fullPath . replace ( './' , '' ) ;
13
+
14
+ if ( lastFile !== errFile ) {
13
15
if ( lastFile ) {
14
16
console . log ( util . format ( '##teamcity[testFinished name=\'%s\']' , lastFile ) ) ;
15
17
}
16
18
17
- lastFile = err . fullPath ;
19
+ lastFile = errFile ;
18
20
console . log ( util . format ( '##teamcity[testStarted name=\'%s\']' , lastFile ) ) ;
19
21
}
20
22
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " lesshint-reporter-teamcity" ,
3
- "version" : " 1.0.0 " ,
3
+ "version" : " 1.0.2 " ,
4
4
"description" : " TeamCity reporter for lesshint." ,
5
5
"main" : " index.js" ,
6
6
"repository" : {
You can’t perform that action at this time.
0 commit comments