ci: Fix vulnerable dev dependencies (no-changelog) (#9545)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-05-30 13:54:29 +02:00
committed by GitHub
parent 936bbb2068
commit 596990bed7
10 changed files with 344 additions and 297 deletions

View File

@@ -35,9 +35,6 @@ if (
process.exit(1);
}
// Prevent oclif from loading ts-node and typescript
process.env.OCLIF_TS_NODE = '0';
// Disable nodejs custom inspection across the app
const { inspect } = require('util');
inspect.defaultOptions.customInspect = false;
@@ -52,5 +49,5 @@ if (process.env.NODEJS_PREFER_IPV4 === 'true') {
(async () => {
const oclif = await import('@oclif/core');
await oclif.execute({});
await oclif.execute({ dir: __dirname });
})();