I had to open up a wall for a plumbing repair and accidentally nicked the jacket of a NM electrical wire with my drywall saw. From what I can see, only the outer jacket was affected, but I admittedly can't see much. It's 12/2 wire, and it runs to an outlet 6 feet away or so. There is no other junction box near that I can tell, and I would prefer not to put in a new box. How can I repair this while covering it back up? Or do I even need to worry?
I hate to leave questionable connections behind walls. I dream of fire and destruction.
I would repair the tear unless you were certain that the wire insulation was not compromised.
The easiest way to do that is with an inline cable splice.
These are mean to be concealed in walls where repairs to existing wiring is needed, and are UL approved. I use them sparingly (they are a hidden connection) but sometimes they are necessary.
Yon need some slack, so you may have to open a bay next to the current one to get more cable. You can then run a new cable to the next box. In a pinch, you could use two splices and a short run of cable between them, but I would try to avoid that.
You could cut the wire at the damage and run it to a new single socket (or similar) and then run a new cable from the new socket to the one 6 foot away? (unless you're in a bathroom etc.)