mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 08:56:17 -04:00
Added initial bun support.
This commit is contained in:
parent
b6ce8c7377
commit
8be2dffc37
9 changed files with 32 additions and 9619 deletions
|
@ -14,10 +14,10 @@ const logger = log4js.getLogger('plugins');
|
|||
// Log the version of npm at startup.
|
||||
(async () => {
|
||||
try {
|
||||
const version = await runCmd(['npm', '--version'], {stdio: [null, 'string']});
|
||||
logger.info(`npm --version: ${version}`);
|
||||
const version = await runCmd(['bun', '--version'], {stdio: [null, 'string']});
|
||||
logger.info(`bun --version: ${version}`);
|
||||
} catch (err) {
|
||||
logger.error(`Failed to get npm version: ${err.stack || err}`);
|
||||
logger.error(`Failed to get bun version: ${err.stack || err}`);
|
||||
// This isn't a fatal error so don't re-throw.
|
||||
}
|
||||
})();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue