Commit a2bdbe9b authored by qinhaitao's avatar qinhaitao

feat: 🎸 gulp 指令

parent 4d40e667
......@@ -51,8 +51,8 @@ gulp.task('build', function () {
return codeGenerate.run(gulp, nunjucksRender, rename, nunjucksRenderConfig)
})
gulp.task('format', async () => {
await gulp
gulp.task('format', () => {
return gulp
.src(nunjucksRenderConfig.ServerFullPath + '/**/*.ts')
.pipe(prettier(prettierConfig))
.pipe(gulp.dest(nunjucksRenderConfig.ServerFullPath + '/'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment