From 0e54e8df71034333dd5075b47c8d0a3f5e519e7e Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Mon, 25 Jul 2022 12:48:47 +0200 Subject: [PATCH] format code --- src/cache-distributions/poetry-cache.ts | 2 +- src/setup-python.ts | 7 ++++++- src/utils.ts | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/cache-distributions/poetry-cache.ts b/src/cache-distributions/poetry-cache.ts index 7f84fef9..60ecea2b 100644 --- a/src/cache-distributions/poetry-cache.ts +++ b/src/cache-distributions/poetry-cache.ts @@ -5,7 +5,7 @@ import * as exec from '@actions/exec'; import * as core from '@actions/core'; import CacheDistributor from './cache-distributor'; -import { logWarning } from '../utils'; +import {logWarning} from '../utils'; class PoetryCache extends CacheDistributor { constructor( diff --git a/src/setup-python.ts b/src/setup-python.ts index d27e9717..1ebcbac3 100644 --- a/src/setup-python.ts +++ b/src/setup-python.ts @@ -5,7 +5,12 @@ import * as path from 'path'; import * as os from 'os'; import fs from 'fs'; import {getCacheDistributor} from './cache-distributions/cache-factory'; -import {isCacheFeatureAvailable, logWarning, IS_LINUX, IS_WINDOWS} from './utils'; +import { + isCacheFeatureAvailable, + logWarning, + IS_LINUX, + IS_WINDOWS +} from './utils'; function isPyPyVersion(versionSpec: string) { return versionSpec.startsWith('pypy'); diff --git a/src/utils.ts b/src/utils.ts index 5440d1ff..7d4fa02e 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -140,4 +140,4 @@ export async function getLinuxOSReleaseInfo() { export function logWarning(message: string): void { const warningPrefix = '[warning]'; core.info(`${warningPrefix}${message}`); -} \ No newline at end of file +}