Skip to content

Fix segmentation fault in ls C++ #81

Fix segmentation fault in ls C++

Fix segmentation fault in ls C++ #81

Triggered via push December 22, 2023 16:28
Status Success
Total duration 37s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error, 8 warnings, and 1 notice
/src/ls.cpp:16:10 [clang-diagnostic-error]: src/ls.cpp#L16
'config.h' file not found
/src/ls.cpp:18:13 [cppcoreguidelines-avoid-non-const-global-variables]: src/ls.cpp#L18
variable 'BLUE_BOLD' is non-const and globally accessible, consider making it const
/src/ls.cpp:19:13 [cppcoreguidelines-avoid-non-const-global-variables]: src/ls.cpp#L19
variable 'RESET' is non-const and globally accessible, consider making it const
/src/ls.cpp:21:5 [modernize-use-trailing-return-type]: src/ls.cpp#L21
use a trailing return type for this function
Run clang-format on src/ls.cpp: src/ls.cpp#L1
File src/ls.cpp does not conform to LLVM style guidelines. (lines 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92)