mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 06:42:28 +00:00
Update comment in tests//vars-and-functions.sh
Co-authored-by: tomberek <tomberek@users.noreply.github.com>
This commit is contained in:
parent
41a03738d6
commit
4457cebe05
@ -306,7 +306,8 @@ onError() {
|
||||
# Example (showns as string): 'repl.sh:123: in call to grepQuiet: '
|
||||
# This function is inefficient, so it should only be used in error messages.
|
||||
callerPrefix() {
|
||||
# Find the closes caller that's not from this file
|
||||
# Find the closest caller that's not from this file
|
||||
# using the bash `caller` builtin.
|
||||
local i file line fn savedFn
|
||||
# Use `caller`
|
||||
for i in $(seq 0 100); do
|
||||
|
Loading…
Reference in New Issue
Block a user