ignoredFiles are not ignored

Đang mở
#131 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
typescript
Lĩnh vực
cli

Hướng nghiên cứu

Start in src/compiler/getAppSource.ts at the linked line and trace how ignoredFiles from .rcappsconfig is passed into the file-selection logic. Confirm the behavior with a .vscode/** entry and verify that TypeScript files under .vscode are excluded.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

When I add .vscode/** in the ignoredFiles of .rcappsconfig, Typescript files in this directory are not ignored. (I use the Local History addons in VSCode, which adds local versions of files in the .vscode directory).

I tracked down the error to this line:
https://github.com/RocketChat/Rocket.Chat.Apps-compiler/blob/f574fffd9a7c40fca2d963979f02a3023a5e2a1e/src/compiler/getAppSource.ts#L14

This line should use ignoredFiles instead.

Ngôn ngữ chính
TypeScript
Star
49
Fork
40
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của RocketChat/Rocket.Chat.Apps-cli

Tất cả issue của RocketChat/Rocket.Chat.Apps-cli

Issue tương tự

Thêm issue về TypeScript

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.