const fs = require('fs');
const path = require('path');

const dir = path.join(__dirname, '../components/memberInfo');
const files = fs.readdirSync(dir).filter((f) => f.endsWith('.vue'));

for (const file of files) {
    let content = fs.readFileSync(path.join(dir, file), 'utf8');
    content = content.replace(
        /export default \{\n\s+options:/,
        'export default {\n    options:'
    );
    fs.writeFileSync(path.join(dir, file), content, 'utf8');
}
