From afc1a2038a5061dba320821d7b9d294d3db46c46 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Tue, 6 Mar 2018 14:16:32 -0500 Subject: [PATCH] progtest: Suppress terminating classifications during const run Terminating classifications will occur any time there is actual data validation, since we're passing no data at all. * progtest/src/env.js (common): Pass argument to program#rater to suppress terminating classifications. --- progtest/src/env.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/progtest/src/env.js b/progtest/src/env.js index 78a97ecc..8b6c9ec8 100644 --- a/progtest/src/env.js +++ b/progtest/src/env.js @@ -69,7 +69,7 @@ module.exports = { // XXX: work around issue with consts not being initialized ahead of // time (initialized during actual rating...!) - program.rater( {} ); + program.rater( {}, false ); return yaml => new Promise( ( resolve, reject ) => {