tests: fix bug in prepare script
This commit is contained in:
parent
35d0e0d976
commit
6d3639d91c
@ -1,7 +1,7 @@
|
||||
const fs = require("fs");
|
||||
|
||||
function replace(filename, key, value) {
|
||||
const data = fs.readFileSync(filename).toString();
|
||||
let data = fs.readFileSync(filename).toString();
|
||||
data = data.replace(key, value);
|
||||
fs.writeFileSync(filename, data);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user