Skip to content

Prevent jscpd to create output folder if the repo is not writable#2556

Merged
nvuillam merged 2 commits intomainfrom
fixes/jscpd-none-folder
Apr 12, 2023
Merged

Prevent jscpd to create output folder if the repo is not writable#2556
nvuillam merged 2 commits intomainfrom
fixes/jscpd-none-folder

Conversation

@nvuillam
Copy link
Copy Markdown
Member

Fixes #2108

@nvuillam
Copy link
Copy Markdown
Member Author

nvuillam commented Apr 12, 2023

🦙 MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
✅ BASH bash-exec 6 0 0.01s
✅ BASH shellcheck 6 0 0.13s
✅ BASH shfmt 6 0 0 0.38s
✅ COPYPASTE jscpd yes no 2.61s
✅ DOCKERFILE hadolint 116 0 14.83s
✅ JSON eslint-plugin-jsonc 21 0 0 2.12s
✅ JSON jsonlint 19 0 0.18s
✅ JSON v8r 21 0 13.59s
⚠️ MARKDOWN markdownlint 312 0 230 6.92s
✅ MARKDOWN markdown-link-check 312 0 5.44s
✅ MARKDOWN markdown-table-formatter 312 0 0 16.88s
✅ OPENAPI spectral 1 0 1.28s
⚠️ PYTHON bandit 186 57 4.62s
✅ PYTHON black 186 0 0 4.71s
✅ PYTHON flake8 186 0 2.33s
✅ PYTHON isort 186 0 0 0.74s
✅ PYTHON mypy 186 0 6.83s
✅ PYTHON pylint 186 0 11.47s
⚠️ PYTHON pyright 186 251 15.32s
✅ PYTHON ruff 186 0 0 0.45s
✅ REPOSITORY checkov yes no 30.25s
✅ REPOSITORY git_diff yes no 0.36s
✅ REPOSITORY secretlint yes no 12.26s
✅ REPOSITORY trivy yes no 30.41s
✅ SPELL cspell 754 0 19.64s
✅ SPELL misspell 573 0 0 0.86s
✅ XML xmllint 3 0 0 0.37s
✅ YAML prettier 81 0 0 3.16s
✅ YAML v8r 23 0 57.34s
✅ YAML yamllint 82 0 1.1s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

@nvuillam
Copy link
Copy Markdown
Member Author

🦙 MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
✅ BASH bash-exec 6 0 0.02s
✅ BASH shellcheck 6 0 0.13s
✅ BASH shfmt 6 0 0 0.04s
✅ COPYPASTE jscpd yes no 3.02s
✅ DOCKERFILE hadolint 116 0 15.71s
✅ JSON eslint-plugin-jsonc 21 0 0 1.97s
✅ JSON jsonlint 19 0 0.17s
✅ JSON npm-package-json-lint yes no 0.67s
✅ JSON v8r 21 0 14.48s
⚠️ MARKDOWN markdownlint 312 2 230 6.53s
✅ MARKDOWN markdown-link-check 312 0 5.77s
✅ MARKDOWN markdown-table-formatter 312 2 0 20.36s
✅ OPENAPI spectral 1 0 1.39s
⚠️ PYTHON bandit 186 57 2.54s
✅ PYTHON black 186 0 0 3.84s
✅ PYTHON flake8 186 0 3.46s
✅ PYTHON isort 186 0 0 0.5s
✅ PYTHON mypy 186 0 8.26s
✅ PYTHON pylint 186 0 13.39s
⚠️ PYTHON pyright 186 251 18.71s
✅ PYTHON ruff 186 0 0 0.12s
✅ REPOSITORY checkov yes no 37.67s
⚠️ REPOSITORY devskim yes 61 1.35s
✅ REPOSITORY dustilock yes no 1.29s
✅ REPOSITORY git_diff yes no 0.04s
✅ REPOSITORY secretlint yes no 8.35s
✅ REPOSITORY syft yes no 2.01s
✅ REPOSITORY trivy yes no 24.57s
✅ SPELL cspell 754 0 20.22s
✅ SPELL misspell 573 2 0 0.52s
✅ XML xmllint 3 0 0 0.03s
✅ YAML prettier 81 0 0 2.64s
✅ YAML v8r 23 0 67.74s
✅ YAML yamllint 82 0 1.16s

See detailed report in MegaLinter reports

You could have same capabilities but better runtime performances if you request a new MegaLinter flavor.

MegaLinter is graciously provided by OX Security

@nvuillam nvuillam merged commit 37f4c2f into main Apr 12, 2023
@nvuillam nvuillam deleted the fixes/jscpd-none-folder branch April 12, 2023 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

REPORT_OUTPUT_FOLDER: none creates a folder named "none"

1 participant