mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02: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
1 changed files with 2 additions and 1 deletions
|
@ -306,7 +306,8 @@ onError() {
|
||||||
# Example (showns as string): 'repl.sh:123: in call to grepQuiet: '
|
# Example (showns as string): 'repl.sh:123: in call to grepQuiet: '
|
||||||
# This function is inefficient, so it should only be used in error messages.
|
# This function is inefficient, so it should only be used in error messages.
|
||||||
callerPrefix() {
|
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
|
local i file line fn savedFn
|
||||||
# Use `caller`
|
# Use `caller`
|
||||||
for i in $(seq 0 100); do
|
for i in $(seq 0 100); do
|
||||||
|
|
Loading…
Reference in a new issue