Skip to content

Commit

Permalink
fix: 🐛 lost build files
Browse files Browse the repository at this point in the history
  • Loading branch information
bubkoo committed Sep 25, 2020
1 parent 04aa414 commit 67a460f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
{
"name": "needs-more-info",
"description": "Github action to request more info from PRs/Issues with either the default title or a blank body.",
"version": "1.0.0",
"version": "1.0.1",
"main": "dist/index.js",
"repository": "https://github.com/bubkoo/needs-more-info",
"author": "bubkoo <[email protected]>",
"license": "MIT",
"files": [
"dist",
"action.yml"
],
"scripts": {
"clean": "rimraf dist",
"lint": "tslint -c tslint.json -p tsconfig.json --fix",
Expand Down
5 changes: 2 additions & 3 deletions src/action.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import * as core from '@actions/core'
import * as github from '@actions/github'
import { Context } from '@actions/github/lib/context'
import { Config } from './config'
import { Util } from './util'
import { Config } from './config'

export namespace Action {
export async function run(context: Context = github.context) {
export async function run(context = github.context) {
try {
const isIssue = Util.isValidEvent('issues', 'opened')
const isPROpened = Util.isValidEvent('pull_request', 'opened')
Expand Down

0 comments on commit 67a460f

Please sign in to comment.