diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2015-11-14 11:25:04 +0100 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2015-11-14 11:25:04 +0100 |
commit | 0e4fe79e5386d8194bd31aaade578ddbd33d97c0 (patch) | |
tree | 68e67feb97b5bd450a1f839f2d0ae303f47853ca | |
parent | 7aecb9379feb66a84d3b1742af81aeb182135157 (diff) | |
download | sbotools2-0e4fe79e5386d8194bd31aaade578ddbd33d97c0.tar.xz |
Add back argument check to get_build_queue()
-rw-r--r-- | SBO-Lib/lib/SBO/Lib.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm index 6a67820..00db2bd 100644 --- a/SBO-Lib/lib/SBO/Lib.pm +++ b/SBO-Lib/lib/SBO/Lib.pm @@ -967,6 +967,7 @@ sub _build_queue { } sub get_build_queue { + exists $_[1] or script_error('get_build_queue requires two arguments.'); return [ _build_queue(@_) ]; } |