mirror of
https://github.com/dorny/paths-filter.git
synced 2026-06-29 04:30:43 +00:00
Add import extensions
This commit is contained in:
parent
c4f6f6794a
commit
61068b04d2
7 changed files with 14 additions and 14 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import * as jsyaml from 'js-yaml'
|
||||
import micromatch from 'micromatch'
|
||||
|
||||
import {File} from './file'
|
||||
import {File} from './file.ts'
|
||||
|
||||
// Type definition of object we expect to load from YAML
|
||||
type FilterYaml = Record<string, FilterItemYaml>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import * as core from '@actions/core'
|
||||
|
||||
import exec from './exec'
|
||||
import {File, ChangeStatus} from './file'
|
||||
import exec from './exec.ts'
|
||||
import {File, ChangeStatus} from './file.ts'
|
||||
|
||||
export const NULL_SHA = '0000000000000000000000000000000000000000'
|
||||
export const HEAD = 'HEAD'
|
||||
|
|
|
|||
10
src/main.ts
10
src/main.ts
|
|
@ -4,11 +4,11 @@ import * as core from '@actions/core'
|
|||
import * as github from '@actions/github'
|
||||
import {PullRequest, PushEvent} from '@octokit/webhooks-types'
|
||||
|
||||
import {File, ChangeStatus} from './file'
|
||||
import {Filter, FilterResults} from './filter'
|
||||
import * as git from './git'
|
||||
import {csvEscape} from './list-format/csv-escape'
|
||||
import {backslashEscape, shellEscape} from './list-format/shell-escape'
|
||||
import {File, ChangeStatus} from './file.ts'
|
||||
import {Filter, FilterResults} from './filter.ts'
|
||||
import * as git from './git.ts'
|
||||
import {csvEscape} from './list-format/csv-escape.ts'
|
||||
import {backslashEscape, shellEscape} from './list-format/shell-escape.ts'
|
||||
|
||||
type ExportFormat = 'none' | 'csv' | 'json' | 'shell' | 'escape'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue