We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27c7401 commit 3e1bf28Copy full SHA for 3e1bf28
1 file changed
bin/setup.js
@@ -177,7 +177,10 @@ const apps = {
177
};
178
179
function checkAppVersion(minimalVersion, app) {
180
- const curApp = apps[app] ?? apps['node'];
+ let curApp = apps[app];
181
+ if (apps[app] === undefined) {
182
+ curApp = apps['node'];
183
+ }
184
return new Promise((resolve, reject) => {
185
exec(curApp.command, (err, stdout) => {
186
const version = stdout.trim();
@@ -239,7 +242,6 @@ function reportError(error) {
239
242
240
243
await installPackages().catch((reason) => reportError(reason));
241
244
await removeFilesFromDirectory('bin/').catch((reason) => reportError(reason));
- await removeFilesFromDirectory('public/assets/logo.png').catch((reason) => reportError(reason));
245
246
if (repoRemoved) {
247
process.stdout.write('\n');
0 commit comments