-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: auto fill content in store's files #908
feat: auto fill content in store's files #908
Conversation
GiveMe-A-Name
commented
Jul 16, 2021
- auto fill content in store's files
- auto fill content in the files in models folder
…into feat/auto-fill-content-with-store
Codecov Report
@@ Coverage Diff @@
## release/1.3.0 #908 +/- ##
==============================================
Coverage 57.14% 57.14%
==============================================
Files 1 1
Lines 70 70
Branches 15 15
==============================================
Hits 40 40
Misses 30 30 Continue to review full report at Codecov.
|
const renderFileAsync = util.promisify(ejs.renderFile); | ||
const writeFileAsync = util.promisify(fs.writeFile); | ||
|
||
enum createFileTypes { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
枚举命名推荐首字母大写?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
enum createFileTypes { | ||
null, | ||
store, | ||
inModels, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
inModels 感觉命名怪怪的
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
…into feat/auto-fill-content-with-store