mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 18:17:13 +02:00
Better formatting when asking to remove a file
This commit is contained in:
@ -839,8 +839,7 @@ def rmtree_(path):
|
|||||||
os.remove(name)
|
os.remove(name)
|
||||||
except Exception as e: # pylint: disable=broad-except
|
except Exception as e: # pylint: disable=broad-except
|
||||||
click.secho(
|
click.secho(
|
||||||
"%s \n\nCould not remove the file `%s`. "
|
"%s \nPlease manually remove the file `%s`" % (str(e), name),
|
||||||
"Please remove it manually." % (str(e), name),
|
|
||||||
fg="red",
|
fg="red",
|
||||||
err=True)
|
err=True)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user