If the LaTeX root file does not exist (was deleted) or is not valid (does not have begin{document}) then the file will be undefined. This undefined variable gets passed to Object.basename, which only accepts string arguments, hence causing a deprecation warning.
Steps to reproduce the bug:
Save an empty file with the extension .tex.
Open the file in Atom.
Type in a backslash character \, observe the resulting deprecation warning.
If the LaTeX root file does not exist (was deleted) or is not valid (does not have
begin{document}
) then the file will be undefined. This undefined variable gets passed to Object.basename, which only accepts string arguments, hence causing a deprecation warning.Steps to reproduce the bug:
.tex
.\
, observe the resulting deprecation warning.