mirror of
https://git.dn42.dev/dn42/registry.git
synced 2026-02-14 15:12:21 +08:00
Merge pull request 'Remove file deletion check from check-pol' (#6070) from burble/registry:update-check-pol into master
Reviewed-on: https://git.dn42.dev/dn42/registry/pulls/6070 Reviewed-by: schema-checker <schema-checker@noreply.dn42.dev>
This commit is contained in:
commit
aae59bc0ff
1 changed files with 1 additions and 3 deletions
|
|
@ -70,9 +70,7 @@ do
|
|||
object="$3"
|
||||
|
||||
# check the file really is a registry object
|
||||
# (including if it still exists, as it may have been deleted)
|
||||
if [ -f "$filename" ] && [ "$path" = 'data' ] && \
|
||||
[ -n "$type" ] && [ -n "$object" ]
|
||||
if [ "$path" = 'data' ] && [ -n "$type" ] && [ -n "$object" ]
|
||||
then
|
||||
|
||||
# run the check script
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue