exercism / exercism/cli

Update submit command to filter implicit file list against allowed extensions

Đang mở
#610 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
1.4k
Fork
363
Merge trung bình
6 ngày 13 giờ
Pull request đã merge (30 ngày)
2

Mô tả

This depends on https://github.com/exercism/cli/issues/609

As part of https://github.com/exercism/meta/issues/107 we will need to update `cmd/submit.go` to filter against the accepted list of file extensions. This is in addition to the existing filter to _exclude_ based on the blocklist.

Caveats:

- We will _only_ filter if the user is submitting a directory. If they're submitting a list of files, we will trust them to know what they are doing.
- If the list of extensions is empty, we will only use the blocklist.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.