mirror of
https://github.com/github/codeql-action.git
synced 2025-12-26 09:10:07 +08:00
12 lines
268 B
JavaScript
Executable File
12 lines
268 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
'use strict';
|
|
const debug = require('debug')('ava');
|
|
const importLocal = require('import-local');
|
|
|
|
// Prefer the local installation of AVA
|
|
if (importLocal(__filename)) {
|
|
debug('Using local install of AVA');
|
|
} else {
|
|
require('./lib/cli').run();
|
|
}
|