Skip to content

Commit a1a1213

Browse files
committed
Ensure husky is installed
1 parent 6bfaff4 commit a1a1213

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/index.js

+3
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ const run = async ({ packageName, bundle, gitOrigin, verbose }) => {
140140
if (verbose) log(chalk.gray(`Adding git remote`));
141141
await cmd('git', ['remote', 'add', 'origin', gitOrigin]);
142142
}
143+
144+
// this will ensure husky is installed
145+
await cmd('npm', ['rebuild']);
143146
} catch (error) {
144147
throw new Error(error);
145148
} finally {

0 commit comments

Comments
 (0)