mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
Migrates the Overleaf monorepo package manager from npm (v11) to Yarn 4 (v4.9.1) using node-modules linker mode. GitOrigin-RevId: 50d32ab01955c15e29679eff9e9e9cfb897fab2d
14 lines
609 B
Diff
14 lines
609 B
Diff
diff --git a/lib/MultiReporters.js b/lib/MultiReporters.js
|
|
index d61e019711d5ac7f82c0fb90548bb0eb41ebbb85..e7a9515e05287621301b831191884a84d72ad0a1 100644
|
|
--- a/lib/MultiReporters.js
|
|
+++ b/lib/MultiReporters.js
|
|
@@ -153,7 +153,7 @@ MultiReporters.prototype.getCustomOptions = function (options) {
|
|
debug('options file (custom)', customOptionsFile);
|
|
|
|
try {
|
|
- if ('.js' === path.extname(customOptionsFile)) {
|
|
+ if (['.js', '.cjs'].includes(path.extname(customOptionsFile))) {
|
|
customOptions = require(customOptionsFile);
|
|
}
|
|
else {
|