From d34974addf3451d3b3d510ca4e3beb1124f8c2c4 Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Fri, 24 Apr 2020 12:08:41 +0200 Subject: [PATCH] fix --- jenkins.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jenkins.js b/jenkins.js index 7601edb..0a0c545 100644 --- a/jenkins.js +++ b/jenkins.js @@ -16,7 +16,7 @@ child_process.execSync ('yarn lint', { stdio: 'inherit' }); if (typeof pkg.scripts !== 'undefined' && typeof pkg.scripts.test === 'string') child_process.execSync ('yarn test', { stdio: 'inherit' }); if ( - typeof pkg.scripts !== 'undefined' + typeof pkg.scripts !== 'undefined' && typeof pkg.scripts.compile === 'string' ) child_process.execSync ('yarn compile', { stdio: 'inherit' });