Fixed lint errors
This commit is contained in:
parent
6d62f72b7e
commit
e6185dc5e7
@ -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."
|
||||
|
@ -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 = '..'
|
||||
}
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user