We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae1493f commit 43cd72cCopy full SHA for 43cd72c
scripts/format.sh
@@ -30,13 +30,13 @@ elif which docker > /dev/null 2>&1; then
30
--volume .:/workspace \
31
--user "$(id -u):$(id -g)" \
32
docker.io/swift:6.0.2 \
33
- /workspace/scripts/format.sh
+ "/workspace/scripts/$(basename "${BASH_SOURCE[0]}")"
34
elif which podman > /dev/null 2>&1; then
35
podman run --rm \
36
37
--userns=keep-id \
38
39
40
else
41
echo "Either 'swift', 'docker' or 'podman' has to be installed to run swiftformat."
42
exit 1
0 commit comments