Fix v17.7.2 stale test version markers
This commit is contained in:
parent
d384ce1d9e
commit
daa4d66ce8
8
ops/v1772-fix-tests.mjs
Normal file
8
ops/v1772-fix-tests.mjs
Normal file
@ -0,0 +1,8 @@
|
||||
import fs from 'node:fs';
|
||||
for(const p of ['tests/static-security.mjs','tests/release-check.mjs','tests/app.spec.mjs']){
|
||||
let s=fs.readFileSync(p,'utf8');
|
||||
s=s.split("const VERSION = '17.7.1'").join("const VERSION = '17.7.2'");
|
||||
s=s.split("version).toBe('17.7.1')").join("version).toBe('17.7.2')");
|
||||
fs.writeFileSync(p,s);
|
||||
}
|
||||
console.log('v17.7.2 stale test markers fixed');
|
||||
Loading…
Reference in New Issue
Block a user