File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
var StackUtils = require ( 'stack-utils' )
2
2
var path = require ( 'path' )
3
+ var tapDir = path . resolve ( __dirname , '..' )
3
4
4
5
// don't skip when developing on tap itself
5
- var skip = __dirname . indexOf ( process . cwd ( ) ) !== 0 ||
6
+ var skip = process . cwd ( ) !== tapDir ||
6
7
+ process . env . TAP_DEV_SHORTSTACK === 1 &&
7
8
+ process . env . TAP_DEV_LONGSTACK !== 1
8
9
? [
9
10
/ n o d e _ m o d u l e s [ \/ \\ ] t a p [ \/ \\ ] / ,
11
+ new RegExp ( resc ( tapDir ) ) ,
10
12
new RegExp ( resc ( require . resolve ( 'function-loop' ) ) ) ,
11
13
new RegExp ( resc ( path . dirname ( require . resolve ( 'bluebird/package.json' ) ) ) ) ,
12
14
new RegExp ( resc ( __dirname ) + '\\b' , 'i' )
Original file line number Diff line number Diff line change 32
32
"own-or-env" : " ^1.0.0" ,
33
33
"readable-stream" : " ^2.0.2" ,
34
34
"signal-exit" : " ^3.0.0" ,
35
- "stack-utils" : " ^0.4 .0" ,
35
+ "stack-utils" : " ^1.0 .0" ,
36
36
"tap-mocha-reporter" : " ^3.0.1" ,
37
37
"tap-parser" : " ^5.3.1" ,
38
38
"tmatch" : " ^3.0.0" ,
You can’t perform that action at this time.
0 commit comments