@@ -23,7 +23,7 @@ const extraUpdaters =
2323 : { } ;
2424
2525function createAndProcessBuildConfig ( router ) {
26- process . stdout . write ( 'copying build-config.json...\n' ) ;
26+ process . stdout . write ( 'creating build-config.json...\n' ) ;
2727 const configName = `${ router . id } /build-config.json` ;
2828 const buildConfig = JSON . parse ( fs . readFileSync ( configName , 'utf8' ) ) ;
2929 const transitFeeds = buildConfig . transitFeeds || [ ] ;
@@ -49,7 +49,7 @@ function createAndProcessBuildConfig(router) {
4949
5050// Prepares router-config.json data for opentripplanner and applies edits/additions made in EXTRA_UPDATERS env var
5151function createAndProcessRouterConfig ( router ) {
52- process . stdout . write ( 'copying router-config.json...\n' ) ;
52+ process . stdout . write ( 'creating router-config.json...\n' ) ;
5353 const configName = `${ router . id } /router-config.json` ;
5454 const routerConfig = JSON . parse ( fs . readFileSync ( configName , 'utf8' ) ) ;
5555 const updaters = routerConfig . updaters ;
@@ -169,8 +169,8 @@ function prepareRouterDataForPrebuiltStreetGraphBuild(router) {
169169 'Collecting data and configuration files for graph build based on prebuilt street graph data\n' ,
170170 ) ;
171171
172- stream . push ( createFile ( router , 'build-config.json' , router . id ) ) ;
173172 stream . push ( createFile ( router , 'otp-config.json' , router . id ) ) ;
173+ stream . push ( createAndProcessBuildConfig ( router ) ) ;
174174 stream . push ( createAndProcessRouterConfig ( router ) ) ;
175175 router . src . forEach ( src => {
176176 const name = src . id + '-gtfs.zip' ;
0 commit comments