💄 Lint + Prettier

This commit is contained in:
ajnart
2023-01-06 01:11:02 +09:00
parent 6fb199105b
commit 2d320ff6e9
12 changed files with 27 additions and 25 deletions

View File

@@ -36,7 +36,9 @@ export const LoadConfigComponent = () => {
let newConfig: ConfigType = JSON.parse(fileText);
if (!newConfig.schemaVersion) {
console.warn('a legacy configuration schema was deteced and migrated to the current schema');
console.warn(
'a legacy configuration schema was deteced and migrated to the current schema'
);
const oldConfig = JSON.parse(fileText) as Config;
newConfig = migrateConfig(oldConfig);
}