Skip to content

Commit d345895

Browse files
committed
Add clean
1 parent 70da9a5 commit d345895

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/fiware/image-clone.sh

+6
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,9 @@ for i in "$@" ; do
3434
fi
3535
echo ""
3636
done
37+
38+
for i in "$@" ; do
39+
if [[ $i == "clean" ]]; then
40+
docker rmi -f $(docker images -a -q) | true
41+
fi
42+
done

.husky/pre-commit

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
npm run pre-commit
4+
# npm run pre-commit

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)