@@ -304,14 +304,14 @@ const updateSources = async () => {
304
304
output = "# AUTOGENERATED FROM PLATFORM API. DO NOT EDIT\n"
305
305
output += "# sources last updated " + todayDate + " \n" ;
306
306
output += yaml . safeDump ( { items : sourcesUpdated } , options ) ;
307
- fs . writeFileSync ( path . resolve ( __dirname , `../src/_data/catalog/sources .yml` ) , output ) ;
307
+ fs . writeFileSync ( path . resolve ( __dirname , `../src/_data/catalog/sources_capi .yml` ) , output ) ;
308
308
309
309
// Create source-category mapping yaml file
310
310
var todayDate = new Date ( ) . toISOString ( ) . slice ( 0 , 10 ) ;
311
311
output = "# AUTOGENERATED FROM PLATFORM API. DO NOT EDIT\n"
312
312
output += "# source cateogries last updated " + todayDate + " \n" ;
313
313
output += yaml . safeDump ( { items : sourceCategories } , options ) ;
314
- fs . writeFileSync ( path . resolve ( __dirname , `../src/_data/catalog/source_categories .yml` ) , output ) ;
314
+ fs . writeFileSync ( path . resolve ( __dirname , `../src/_data/catalog/source_categories_capi .yml` ) , output ) ;
315
315
}
316
316
317
317
const updateDestinations = async ( ) => {
@@ -414,14 +414,14 @@ const updateDestinations = async () => {
414
414
var todayDate = new Date ( ) . toISOString ( ) . slice ( 0 , 10 ) ;
415
415
output += "# destination data last updated " + todayDate + " \n" ;
416
416
output += yaml . safeDump ( { items : destinationsUpdated } , options ) ;
417
- fs . writeFileSync ( path . resolve ( __dirname , `../src/_data/catalog/destinations .yml` ) , output ) ;
417
+ fs . writeFileSync ( path . resolve ( __dirname , `../src/_data/catalog/destinations_capi .yml` ) , output ) ;
418
418
419
419
// Create destination-category mapping yaml file
420
420
output = "# AUTOGENERATED FROM PLATFORM API. DO NOT EDIT\n"
421
421
var todayDate = new Date ( ) . toISOString ( ) . slice ( 0 , 10 ) ;
422
422
output += "# destination categories last updated " + todayDate + " \n" ;
423
423
output += yaml . safeDump ( { items : destinationCategories } , options ) ;
424
- fs . writeFileSync ( path . resolve ( __dirname , `../src/_data/catalog/destination_categories .yml` ) , output ) ;
424
+ fs . writeFileSync ( path . resolve ( __dirname , `../src/_data/catalog/destination_categories_capi .yml` ) , output ) ;
425
425
}
426
426
427
427
updateSources ( )
0 commit comments