File tree Expand file tree Collapse file tree 3 files changed +3
-19
lines changed Expand file tree Collapse file tree 3 files changed +3
-19
lines changed File renamed without changes.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -27,15 +27,16 @@ const compilerPackage = require('google-closure-compiler');
27
27
const Compiler = compilerPackage . compiler ;
28
28
const packageInfo = require ( '../package.json' ) ;
29
29
const Semver = require ( 'semver' ) ;
30
- const compilerVersionMatch = require ( '../build-scripts/version-match' ) ;
31
30
const spawn = require ( 'child_process' ) . spawnSync ;
32
31
require ( 'mocha' ) ;
33
32
33
+ const compilerVersionMatch = / ^ V e r s i o n : v ( \d + ) $ / m;
34
+
34
35
process . on ( 'unhandledRejection' , e => { throw e ; } ) ;
35
36
36
37
const assertError = new should . Assertion ( 'compiler version' ) ;
37
38
assertError . params = {
38
- operator : 'should be a semver parseabe ' ,
39
+ operator : 'should be a semver parseable ' ,
39
40
} ;
40
41
const isNightlyBuild = / ^ t r u e | 1 $ / i. test ( process . env . COMPILER_NIGHTLY ) ;
41
42
You can’t perform that action at this time.
0 commit comments