\frac{x^2+mx-2}{x^2-x+1}<2\Rightarrow x^2-(m+2)x+4>0