diff --git a/src/index.js b/src/index.js index e69de29..7b62063 100644 --- a/src/index.js +++ b/src/index.js @@ -0,0 +1 @@ +export {default as assess} from './ski-patrol'; diff --git a/src/ski-patrol-test.js b/src/ski-patrol-test.js index 5a50974..56d16f9 100644 --- a/src/ski-patrol-test.js +++ b/src/ski-patrol-test.js @@ -2,7 +2,7 @@ import {assert} from 'chai'; import sinon from 'sinon'; import any from '@travi/any'; import * as husky from './husky'; -import {patrol} from './ski-patrol'; +import patrol from './ski-patrol'; suite('ski-patrol', () => { let sandbox; diff --git a/src/ski-patrol.js b/src/ski-patrol.js index bcfa662..a54f300 100644 --- a/src/ski-patrol.js +++ b/src/ski-patrol.js @@ -1,5 +1,5 @@ import husky from './husky'; -export async function patrol({projectRoot}) { +export default async function ({projectRoot}) { await husky(projectRoot); }