mirror of
https://github.com/github/codeql-action.git
synced 2026-05-07 22:30:44 +00:00
Fix dependabot issues
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
const path = require('path');
|
||||
|
||||
// Ensure the same AVA install is loaded by the test file as by the test worker
|
||||
if (process.env.AVA_PATH && process.env.AVA_PATH !== __dirname) {
|
||||
module.exports = require(path.join(process.env.AVA_PATH, 'plugin'));
|
||||
} else {
|
||||
module.exports = require('./lib/worker/plugin');
|
||||
}
|
||||
Reference in New Issue
Block a user