Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Issue with directory separator on linux

Đang mở
#366 3 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ó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
38/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
csharp
Lĩnh vực
tooling

Hướng nghiên cứu

Start by reproducing the restore described in the issue on Linux with a libman.json destination containing a subfolder, then trace the restore path handling that destination. Done means a destination such as lib\\jquery creates lib/jquery rather than a directory containing a backslash, while / continues to work on both Linux and Windows.

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

Mô tả

Functional impact

When restoring libraries on linux, the \ character is not used as a directory separator.

Minimal repro steps
  1. Create a libman.json with a library with a destination containing a subfolder (the default suggested value can be used)
  2. Use libman on a linux environment (bash on windows in my case) to restore the library
Expected result

The directory separator should be respected and converted to /, eg: lib\\jquery => lib/jquery

Actual result

A single directory is created with a \ character in its name.

Further technical details

As a workaround, using / in the libman.json as a directory separator works on both linux and windows.

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

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

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

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 aspnet/LibraryManager

Tất cả issue của aspnet/LibraryManager

Issue tương tự

Thêm issue về C#

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.