aboutsummaryrefslogtreecommitdiff
path: root/src/install/dependency.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/install/dependency.zig')
-rw-r--r--src/install/dependency.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/install/dependency.zig b/src/install/dependency.zig
index 8e862af97..2f56753a3 100644
--- a/src/install/dependency.zig
+++ b/src/install/dependency.zig
@@ -540,10 +540,10 @@ pub fn parseWithTag(
if (strings.indexOf(dependency, ":")) |protocol| {
if (strings.eqlComptime(dependency[0..protocol], "file")) {
if (dependency.len <= protocol) {
- if (log_) |log| log.addErrorFmt(null, logger.Loc.Empty, allocator, "file: dependency missing a path", .{dependency}) catch unreachable;
+ if (log_) |log| log.addErrorFmt(null, logger.Loc.Empty, allocator, "\"file\" dependency missing a path", .{}) catch unreachable;
return null;
}
-
+
return Version{ .literal = sliced.value(), .value = .{ .folder = sliced.sub(dependency[protocol + 1 ..]).value() }, .tag = .folder };
}