Buck: buck fix

buck fix

Attempts to fix errors and warnings encountered during the previous command.

Commands such as buck build may fail with errors from Buck itself or another tool (such as a compiler or linker) that is invoked by Buck. In some cases, such errors can be fixed automatically. In such cases, running

buck fix
may fix the error.

buck fix prints nothing to the console unless a catastrophic failure occurs.

Note that buck fix will edit files in place. It is therefore recommended that any pending changes be saved to source control before running this command.