Prettifies the code at the given file path
(args)
| 47 | |
| 48 | |
| 49 | def prettify(args): |
| 50 | """Prettifies the code at the given file path""" |
| 51 | stdout = run_main_js(args + [get_user_dir(), get_root_dir()]) |
| 52 | prettified_code = get_prettified_code(stdout) |
| 53 | output_diagnostics = get_diagnostics(stdout) |
| 54 | return prettified_code, output_diagnostics |
| 55 | |
| 56 | |
| 57 | def prettify_verbose(window, args): |
no test coverage detected