5
0
Fork 0
mirror of https://github.com/pre-commit/action.git synced 2025-11-07 10:46:56 +00:00

run python3 instead of pip

This commit is contained in:
Oluf Lorenzen 2021-05-07 16:45:12 +02:00 committed by GitHub
parent d2410eb91d
commit e0cf0a0e44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,8 +34,8 @@ function addToken(url, token) {
async function main() {
await core.group('install pre-commit', async () => {
await exec.exec('pip', ['install', 'pre-commit']);
await exec.exec('pip', ['freeze', '--local']);
await exec.exec('python3'] 'pip', 'install', 'pre-commit']);
await exec.exec('python3'] 'pip', 'freeze', '--local']);
});
const args = [