Reformat errors to remove Karma sourcemap cruft