From 959933eb18e227f2530aa080a879c3c8cc149dfd Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Sat, 27 Mar 2021 12:12:05 +0000 Subject: [PATCH] fix: std.min error message --- --- a/crates/jrsonnet-stdlib/src/std.jsonnet +++ b/crates/jrsonnet-stdlib/src/std.jsonnet @@ -796,9 +796,9 @@ min(a, b):: if !std.isNumber(a) then - error 'std.max first param expected number, got ' + std.type(a) + error 'std.min first param expected number, got ' + std.type(a) else if !std.isNumber(b) then - error 'std.max second param expected number, got ' + std.type(b) + error 'std.min second param expected number, got ' + std.type(b) else if a < b then a else b, -- gitstuff