Fixed lint errors

This commit is contained in:
Tonye Jack 2023-05-22 21:56:55 -06:00
parent 6d62f72b7e
commit e6185dc5e7
3 changed files with 4 additions and 2 deletions

View File

@ -76,6 +76,7 @@ inputs:
diff_relative:
description: "Exclude changes outside the current directory and show path names relative to it. **NOTE:** This requires you to specify the top level directory via the `path` input."
required: false
default: "true"
dir_names:
default: "false"
description: "Output unique changed directories instead of filenames. **NOTE:** This returns `.` for changed files located in the root of the project."

View File

@ -331,7 +331,7 @@ export const getSHAForPullRequestEvent = async (
if (
!env.GITHUB_EVENT_PULL_REQUEST_BASE_REF ||
env.GITHUB_EVENT_HEAD_REPO_FORK == 'true'
env.GITHUB_EVENT_HEAD_REPO_FORK === 'true'
) {
diff = '..'
}

View File

@ -1,3 +1,4 @@
/*global AsyncIterableIterator*/
import * as core from '@actions/core'
import * as exec from '@actions/exec'
import {MatchKind} from '@actions/glob/lib/internal-match-kind'
@ -602,7 +603,7 @@ export const jsonOutput = ({
value,
rawFormat
}: {
value: any
value: string | string[]
rawFormat: boolean
}): string => {
if (rawFormat) {