Skip to content

Commit

Permalink
💬 Use gitmojis for commits (#5)
Browse files Browse the repository at this point in the history
* 💬 use gitmojis for commits

* 📦 publish
  • Loading branch information
9at8 authored Aug 1, 2019
1 parent d5695c6 commit 96e8f05
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/convertCodebase.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/convertCodebase.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/convertCodebase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default async function process(
console.log(`${errorFiles.length} errors:`);
if (errorFiles.length) console.log(errorFiles);
if (shouldCommit) {
await commit("Convert files", filePaths);
await commit(":construction: convert files to typescript", filePaths);

const renameErrors: string[] = [];

Expand Down Expand Up @@ -91,7 +91,7 @@ export default async function process(

console.log(`Snaps found: ${snapsFound.length}`);
console.log(`Snaps Not found: ${snapsNotFound.length}`);
await commit("Rename files", filePaths);
await commit(":truck: rename files to .ts/.tsx", filePaths);

console.log(`${successFiles.length} converted successfully.`);
console.log(`${errorFiles.length} errors`);
Expand Down

0 comments on commit 96e8f05

Please sign in to comment.