@@ -14,9 +14,9 @@ const yargs = require('yargs')
14
14
const nodeCleanup = require ( 'node-cleanup' ) ;
15
15
const publishYalcPackage = require ( './publish_yalc_package' ) ;
16
16
const foldStart = ( message ) => {
17
- IS_TRAVIS && console . log ( 'travis_fold:start:' + message ) ;
17
+ IS_TRAVIS && console . log ( 'travis_fold:start:' + message . replace ( / \s + / g , '.' ) ) ;
18
18
console . log ( message ) ;
19
- return ( ) => IS_TRAVIS && console . log ( 'travis_fold:end:' + message ) ;
19
+ return ( ) => IS_TRAVIS && console . log ( 'travis_fold:end:' + message . replace ( / \s + / g , '.' ) ) ;
20
20
} ;
21
21
let foldEnd = ( ) => null ;
22
22
@@ -171,7 +171,7 @@ function runDownstreamTests(key, upstreamPackages, downstreamTreeNode, successLo
171
171
172
172
const name = downstreamTreeNode . installDir ;
173
173
174
- foldEnd = foldStart ( ` ===> Running downstream tests: '${ name } ' <=== ` )
174
+ foldEnd = foldStart ( `Running downstream tests: '${ name } '` )
175
175
176
176
console . log ( ` ===> '${ name } ': prepping tests <===` ) ;
177
177
process . chdir ( downstreamTreeNode . installDir ) ;
@@ -199,7 +199,7 @@ function runDownstreamTests(key, upstreamPackages, downstreamTreeNode, successLo
199
199
const thisPkg = JSON . parse ( fs . readFileSync ( 'package.json' ) ) . name ;
200
200
const upstreams = upstreamPackages . concat ( thisPkg ) ;
201
201
202
- foldEnd = foldStart ( ` ===> Local Yalc Publish: ${ process . cwd ( ) } <=== ` ) ;
202
+ foldEnd = foldStart ( `Local Yalc Publish: ${ process . cwd ( ) . replace ( / . * \/ / , '' ) } ` ) ;
203
203
localPublish ( process . cwd ( ) ) ;
204
204
foldEnd ( ) ;
205
205
@@ -212,17 +212,17 @@ function runDownstreamTests(key, upstreamPackages, downstreamTreeNode, successLo
212
212
console . log ( ` ===> Creating .downstream_cache working directory <===` ) ;
213
213
makeDownstreamCache ( ) ;
214
214
215
- foldEnd = foldStart ( ` ===> Publishing ${ pkgjson . name } to yalc registry <=== ` ) ;
215
+ foldEnd = foldStart ( `Publishing ${ pkgjson . name } to yalc registry` ) ;
216
216
localPublish ( ) ;
217
217
foldEnd ( ) ;
218
218
219
- foldEnd = foldStart ( ` ===> Fetching downstream projects <=== ` ) ;
219
+ foldEnd = foldStart ( `Fetching downstream projects` ) ;
220
220
const tree = { children : { } } ;
221
221
fetchDownstreamProjects ( projects , "" , tree . children ) ;
222
222
foldEnd ( ) ;
223
223
224
224
if ( yargs . argv . workspace ) {
225
- foldEnd = foldStart ( ` ===> Installing downstream dependencies <=== ` ) ;
225
+ foldEnd = foldStart ( `Installing downstream dependencies` ) ;
226
226
const downstreamDirs = getDownstreamInstallDirs ( tree ) ;
227
227
installWorkspaceDependencies ( downstreamDirs ) ;
228
228
foldEnd ( ) ;
0 commit comments