probot / adapter-github-actions

:electric_plug: An adapter that takes a Probot app and makes it compatible with GitHub Actions
ISC License
87 stars 19 forks source link

fix(types): make run default export #38

Closed jamacku closed 2 years ago

jamacku commented 2 years ago

I made mistake in export in original declaration file.

Currently in TypeScript:

import run from "@probot/adapter-github-actions";
import app from "./app";

run.run(app);

This change will simplify calling of run() function:

import run from "@probot/adapter-github-actions";
import app from "./app";

run(app);