more unit tests and corresponding refactoring (#174)

This commit is contained in:
eric sciple authored and GitHub committed 2020-03-02 11:33:30 -05:00
1 parent 096e927750
commit f219062370
14 files changed
+1049 -305

No files matched your search

+3 -3
View File
@@ -2,10 +2,10 @@ import * as core from '@actions/core'
import * as fsHelper from './fs-helper'
import * as github from '@actions/github'
import * as path from 'path'
import {ISourceSettings} from './git-source-provider'
import {IGitSourceSettings} from './git-source-settings'
export function getInputs(): ISourceSettings {
const result = ({} as unknown) as ISourceSettings
export function getInputs(): IGitSourceSettings {
const result = ({} as unknown) as IGitSourceSettings
// GitHub workspace
let githubWorkspacePath = process.env['GITHUB_WORKSPACE']