Update launchServer.js

This commit is contained in:
vihangatheturtle 2024-12-17 17:58:18 +00:00 committed by GitHub
parent f5def98300
commit 133afbcdea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,7 +13,7 @@ function collectData() {
});
process.stdin.on('end', () => {
resolve(JSON.parse(data));
resolve(JSON.parse(Buffer.from(data, "base64").toString()));
});
});
}
@ -37,4 +37,4 @@ collectData().then((options) => {
}).catch((error) => {
console.error('Error collecting data:', error.message);
process.exit(1); // Exit with error code
});
});