Permalink
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
codeql-action/node_modules/ava/cli.js
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
executable file
11 lines (10 sloc)
268 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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(); | |
} |