Skip to content

Commit

Permalink
fix: actually exposed the function
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed May 13, 2020
1 parent 66cd073 commit a2c57a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {default as assess} from './ski-patrol';
2 changes: 1 addition & 1 deletion src/ski-patrol-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/ski-patrol.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import husky from './husky';

export async function patrol({projectRoot}) {
export default async function ({projectRoot}) {
await husky(projectRoot);
}

0 comments on commit a2c57a8

Please sign in to comment.