Skip to content

Commit

Permalink
refactor: Remove getMultilineInput (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
bicstone committed Oct 17, 2022
1 parent aba6a46 commit 973b442
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 126 deletions.
1 change: 0 additions & 1 deletion README.md
Expand Up @@ -5,7 +5,6 @@
[![njsscan sarif](https://github.com/bicstone/backlog-notify/actions/workflows/njsscan-analysis.yml/badge.svg)](https://github.com/bicstone/backlog-notify/actions/workflows/njsscan-analysis.yml)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fbicstone%2Fbacklog-notify.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fbicstone%2Fbacklog-notify?ref=badge_shield)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=bicstone_backlog-notify&metric=alert_status)](https://sonarcloud.io/dashboard?id=bicstone_backlog-notify)
[![Total alerts](https://img.shields.io/lgtm/alerts/g/bicstone/backlog-notify.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/bicstone/backlog-notify/alerts/)
[![DeepSource](https://deepsource.io/gh/bicstone/backlog-notify.svg/?label=active+issues&token=iPw2LS4cY5EQQH_JiN72YOr2)](https://deepsource.io/gh/bicstone/backlog-notify/?ref=repository-badge)
[![codecov](https://codecov.io/gh/bicstone/backlog-notify/branch/master/graph/badge.svg?token=QRLLFDZD15)](https://codecov.io/gh/bicstone/backlog-notify)

Expand Down
37 changes: 2 additions & 35 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions lgtm.yml

This file was deleted.

5 changes: 2 additions & 3 deletions src/getConfigs.ts
@@ -1,5 +1,4 @@
import * as core from "@actions/core"
import { getMultilineInput } from "./getMultilineInput"

export type Configs = {
projectKey: string
Expand Down Expand Up @@ -27,12 +26,12 @@ export const getConfigs = (): Configs => {
apiKey: getConfig("api_key", { required: true }),
githubEventPath: getConfig("github_event_path", { required: true }),
fixKeywords: core.getInput("fix_keywords")
? getMultilineInput("fix_keywords", {
? core.getMultilineInput("fix_keywords", {
trimWhitespace: true,
})
: ["#fix", "#fixes", "#fixed"],
closeKeywords: core.getInput("close_keywords")
? getMultilineInput("close_keywords", {
? core.getMultilineInput("close_keywords", {
trimWhitespace: true,
})
: ["#close", "#closes", "#closed"],
Expand Down
26 changes: 0 additions & 26 deletions src/getMultilineInput.ts

This file was deleted.

58 changes: 0 additions & 58 deletions test/getMultilineInput.spec.ts

This file was deleted.

0 comments on commit 973b442

Please sign in to comment.