Skip to content

Commit f764d2a

Browse files
committed
fx: template literals
1 parent a732b6a commit f764d2a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

utils/config.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,23 +80,23 @@ const exec = promisify(require("node:child_process").exec);
8080
);
8181

8282
if (id === ID_FREE) {
83-
console.log(`|--- Installing Admob ---|`);
83+
console.log("|--- Installing Admob ---|");
8484
await exec(
85-
`cordova plugin add cordova-plugin-consent@2.4.0 --save`,
85+
"cordova plugin add cordova-plugin-consent@2.4.0 --save",
8686
);
8787
await exec(
8888
`cordova plugin add admob-plus-cordova@1.28.0 --save --variable APP_ID_ANDROID="${AD_APP_ID}" --variable PLAY_SERVICES_VERSION="21.5.0"`,
8989
);
9090
console.log("DONE! Installing admob-plus-cordova");
9191
} else {
92-
console.log(`|--- Removing Admob ---|`);
93-
await exec(`cordova plugin remove cordova-plugin-consent --save`);
94-
await exec(`cordova plugin remove admob-plus-cordova --save`);
92+
console.log("|--- Removing Admob ---|");
93+
await exec("cordova plugin remove cordova-plugin-consent --save");
94+
await exec("cordova plugin remove admob-plus-cordova --save");
9595
console.log("DONE! Removing admob-plus-cordova");
9696
}
9797

98-
console.log(`|--- Reinstalling platform ---|`);
99-
const { stderr } = await exec(`yarn clean`);
98+
console.log("|--- Reinstalling platform ---|");
99+
const { stderr } = await exec("yarn clean");
100100
if (stderr) console.error(stderr);
101101
else console.log("DONE! Reinstalling platform");
102102
})(),

0 commit comments

Comments
 (0)