Skip to content

Commit d878050

Browse files
authored
Merge pull request #1435 from Flying-Tom/format-fix
Fix: make format with too many containers
2 parents 01c10a6 + f951d17 commit d878050

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ tools/vagrant/.vagrant/
1111
.run/
1212
# Visual Studio Code
1313
.vscode/
14+
.local/
1415
# Bazel
1516
/bazel-*
1617
# vi swap files
@@ -40,6 +41,7 @@ coverage.out
4041
# build artifacts
4142
*.so
4243
*.o
44+
*.o.tmp
4345

4446
kernel/**/*.ko
4547
kernel/**/*.cmd

config/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
linux-bpf.h

hack/format.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,9 @@ install_shell_format
3333
shfmt -w -s -ln=bash ./
3434

3535
if [ -z "$GITHUB_ACTIONS" ]; then
36-
docker run -u 0 -w /workspace -v "$PWD":/workspace davidanson/markdownlint-cli2:v0.18.1 "**/*.md" "--fix"
36+
docker run --rm \
37+
-v "$PWD":/workspace \
38+
-w /workspace \
39+
davidanson/markdownlint-cli2:v0.18.1 \
40+
markdownlint-cli2 --fix "**/*.md"
3741
fi

kmesh_compile_env_pre.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ function install_libboundscheck() {
1212
}
1313

1414
function dependency_pkg_install() {
15-
1615
if command -v apt >/dev/null; then
1716
echo "Checking for required packages on a Debian-based system..."
1817

0 commit comments

Comments
 (0)