mirror of
https://github.com/tw93/Mole.git
synced 2026-02-09 23:09:17 +00:00
chore: auto format code
This commit is contained in:
10
bin/clean.sh
10
bin/clean.sh
@@ -883,11 +883,11 @@ perform_cleanup() {
|
|||||||
|
|
||||||
local summary_heading=""
|
local summary_heading=""
|
||||||
local summary_status="success"
|
local summary_status="success"
|
||||||
if [[ "$DRY_RUN" == "true" ]]; then
|
if [[ "$DRY_RUN" == "true" ]]; then
|
||||||
summary_heading="Dry run complete - no changes made"
|
summary_heading="Dry run complete - no changes made"
|
||||||
else
|
else
|
||||||
summary_heading="Cleanup complete"
|
summary_heading="Cleanup complete"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local -a summary_details=()
|
local -a summary_details=()
|
||||||
|
|
||||||
|
|||||||
@@ -48,10 +48,10 @@ func isHandledByMoClean(path string) bool {
|
|||||||
// Project dependency and build directories.
|
// Project dependency and build directories.
|
||||||
var projectDependencyDirs = map[string]bool{
|
var projectDependencyDirs = map[string]bool{
|
||||||
// JavaScript/Node.
|
// JavaScript/Node.
|
||||||
"node_modules": true,
|
"node_modules": true,
|
||||||
"bower_components": true,
|
"bower_components": true,
|
||||||
".yarn": true,
|
".yarn": true,
|
||||||
".pnpm-store": true,
|
".pnpm-store": true,
|
||||||
|
|
||||||
// Python.
|
// Python.
|
||||||
"venv": true,
|
"venv": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user