generated from atls-lab/template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(commit): commitlint template error (#479)
- Loading branch information
Showing
9 changed files
with
730 additions
and
695 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file added
BIN
+7.83 KB
.yarn/cache/conventional-changelog-angular-patch-073dd937fa-3a1ad0a1dc.zip
Binary file not shown.
31 changes: 31 additions & 0 deletions
31
.yarn/patches/conventional-changelog-angular-npm-7.0.0-de5edb79f0.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
diff --git a/writerOpts.js b/writerOpts.js | ||
index 991947b85e2eac0e0ae246037624276882abb741..805d7e29d3472a8ce2f5b852871c546eecb86bfd 100644 | ||
--- a/writerOpts.js | ||
+++ b/writerOpts.js | ||
@@ -1,22 +1,14 @@ | ||
'use strict' | ||
|
||
const compareFunc = require('compare-func') | ||
-const { readFile } = require('fs').promises | ||
-const { resolve } = require('path') | ||
|
||
async function createWriterOpts () { | ||
- const [template, header, commit, footer] = await Promise.all([ | ||
- readFile(resolve(__dirname, './templates/template.hbs'), 'utf-8'), | ||
- readFile(resolve(__dirname, './templates/header.hbs'), 'utf-8'), | ||
- readFile(resolve(__dirname, './templates/commit.hbs'), 'utf-8'), | ||
- readFile(resolve(__dirname, './templates/footer.hbs'), 'utf-8') | ||
- ]) | ||
const writerOpts = getWriterOpts() | ||
|
||
- writerOpts.mainTemplate = template | ||
- writerOpts.headerPartial = header | ||
- writerOpts.commitPartial = commit | ||
- writerOpts.footerPartial = footer | ||
+ writerOpts.mainTemplate = '' | ||
+ writerOpts.headerPartial = '' | ||
+ writerOpts.commitPartial = '' | ||
+ writerOpts.footerPartial = '' | ||
|
||
return writerOpts | ||
} |
3 changes: 0 additions & 3 deletions
3
...build-linux-x64-npm-0.23.1-e5d2d8764d/node_modules/@esbuild/linux-x64/README.md
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...4-gnu-npm-4.21.2-65bebf97f0/node_modules/@rollup/rollup-linux-x64-gnu/README.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.