File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,13 +14,12 @@ export function loadMaintenanceContext(root = process.cwd()) {
1414 const defaultConfigPath = path . join ( defaultsDir , "v8s-site-config.json" ) ;
1515 const customConfigPath = path . join ( customDir , "v8s-site-config.json" ) ;
1616 const maintenanceConfigPath = path . join ( customDir , "v8s-custom-overrides.json" ) ;
17- const legacyMaintenanceConfigPath = path . join ( customDir , "v8s-maintenance.json" ) ;
1817 const languageMetadataPath = path . join ( defaultsDir , "v8s-language-metadata.json" ) ;
1918 const defaultPublicDir = path . join ( defaultsDir , "public" ) ;
2019 const customPublicDir = path . join ( customDir , "public" ) ;
2120 const defaultConfig = readJson ( defaultConfigPath ) ;
2221 const customConfig = readJson ( customConfigPath ) ;
23- const maintenanceConfig = readJson ( maintenanceConfigPath , readJson ( legacyMaintenanceConfigPath ) ) ;
22+ const maintenanceConfig = readJson ( maintenanceConfigPath ) ;
2423 const siteConfig = mergeSiteConfig ( defaultConfig , customConfig ) ;
2524 const languageMetadata = readJson ( languageMetadataPath ) ;
2625
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import path from "node:path";
99const ROOT = process . cwd ( ) ;
1010
1111function makeFixture ( ) {
12- const tmpDir = fs . mkdtempSync ( path . join ( os . tmpdir ( ) , "v8s-maintenance -" ) ) ;
12+ const tmpDir = fs . mkdtempSync ( path . join ( os . tmpdir ( ) , "v8s-custom-overrides -" ) ) ;
1313
1414 fs . cpSync ( ROOT , tmpDir , {
1515 recursive : true ,
You can’t perform that action at this time.
0 commit comments