1992 Toyota 4X4 Truck

On a 3.0 liter engine, I mis-routed the knock sensor plug to the passenger side. (under intake manifold). After installing engine, I found that the knock sensor wire SHOULD have been routed to the drivers side. Hence, the wiring harness is about 7 inches short of plugging in. Must I remove the intake and re-route the wire, or can I simply cut and extend the wiring harness wire without worrying about causing a knock sensor malfunction?