| author | |
| committer | |
| log | 3ff57d0681b7bd7f8ca9bd092afa0b4bfe2f1afd |
| tree | 260fea95751ef9afb02412f5c2c363f9f58f10e7 |
| parent | 8f13721bd18c0e546841b6f2e11da839550d6287 |
1 files changed, 1 insertions(+), 0 deletions(-)
src/lib.zig+1| ... | ... | @@ -21,6 +21,7 @@ pub fn detect(alloc: std.mem.Allocator, license_src: []const u8) ![]const u8 { |
| 21 | 21 | pub fn detectInDir(alloc: std.mem.Allocator, dir: std.fs.Dir) !?[]const u8 { |
| 22 | 22 | const b = (try testLicenseFile(alloc, dir, "LICENSE")) orelse |
| 23 | 23 | (try testLicenseFile(alloc, dir, "LICENSE.md")) orelse |
| 24 | (try testLicenseFile(alloc, dir, "LICENSE.txt")) orelse | |
| 24 | 25 | return null; |
| 25 | 26 | |
| 26 | 27 | defer alloc.free(b); |