Patch Changes
-
#11946
fa39a73Thanks @MattieTK! - FixconfigFileNamereturning wrong filename for.jsoncconfig filesPreviously, users with a
wrangler.jsoncconfig file would see error messages and hints referring towrangler.jsoninstead ofwrangler.jsonc. This was because theconfigFormatfunction collapsed both.jsonand.jsoncfiles into a single"jsonc"value, losing the distinction between them.Now
configFormatreturns"json"for.jsonfiles and"jsonc"for.jsoncfiles, allowingconfigFileNameto return the correct filename for each format.