const => let

This commit is contained in:
meowster 2024-07-02 19:22:33 +00:00
parent 4285b0bd1c
commit ee021b0f13

View file

@ -97,7 +97,7 @@ function replaceStringInManifest(name, value) {
const data = fs.readFileSync(manifest, "utf-8") const data = fs.readFileSync(manifest, "utf-8")
let arr = data.split(" "); let arr = data.split(" ");
for (let i = 0; i < arr.length; i++) { for (let i = 0; i < arr.length; i++) {
const line = arr[i]; let line = arr[i];
if(line.includes(name)) { if(line.includes(name)) {
line = `${name}=${value}` line = `${name}=${value}`
} }