Update Settings.coffee

Co-authored-by: nate stemen <nate.stemen@overleaf.com>
This commit is contained in:
Alf Eaton 2021-04-26 09:09:00 +01:00 committed by GitHub
parent cf1a5bf0f7
commit be098ee993

View file

@ -38,7 +38,7 @@ else
for file in possibleConfigFiles for file in possibleConfigFiles
if fs.existsSync(file) if fs.existsSync(file)
if file.endsWith('.coffee') if file.endsWith('.coffee')
console.warn "CoffeeScript settings file #{file}.coffee is deprecated, please convert to JavaScript" console.warn "CoffeeScript settings file #{file} is deprecated, please convert to JavaScript"
console.log "Using settings from " + file console.log "Using settings from " + file
module.exports = merge(require(file), defaults) module.exports = merge(require(file), defaults)
settingsExist = true settingsExist = true