mirror of
https://github.com/actions/setup-python.git
synced 2026-01-20 21:08:54 +08:00
fix comments
This commit is contained in:
parent
0021e2d68e
commit
0572342a8a
4 changed files with 20 additions and 19 deletions
|
|
@ -5,6 +5,7 @@ import * as exec from '@actions/exec';
|
|||
import * as core from '@actions/core';
|
||||
|
||||
import CacheDistributor from './cache-distributor';
|
||||
import { logWarning } from '../utils';
|
||||
|
||||
class PoetryCache extends CacheDistributor {
|
||||
constructor(
|
||||
|
|
@ -43,10 +44,10 @@ class PoetryCache extends CacheDistributor {
|
|||
);
|
||||
|
||||
if (exitCode) {
|
||||
core.info(`[warning]${stderr}`);
|
||||
logWarning(stderr);
|
||||
}
|
||||
} else {
|
||||
core.info('[warning]python binaries were not found in PATH.');
|
||||
logWarning('python binaries were not found in PATH');
|
||||
}
|
||||
|
||||
return paths;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue