In hooks/ponytail-config.js line 86:
const config = JSON.parse(fs.readFileSync(configPath, 'utf8'));
Unlike ponytail-activate.js (which strips UTF-8 BOM at line 49) and check-versions.js (which strips BOM at line 34), this function does not strip the BOM before JSON parsing. Config files saved with a BOM (common on Windows) cause silent parse failures, making user config settings be ignored with no warning.
In
hooks/ponytail-config.jsline 86:Unlike
ponytail-activate.js(which strips UTF-8 BOM at line 49) andcheck-versions.js(which strips BOM at line 34), this function does not strip the BOM before JSON parsing. Config files saved with a BOM (common on Windows) cause silent parse failures, making user config settings be ignored with no warning.