Skip to content

Commit

Permalink
GH-1869 Fix args in NpmTasks
Browse files Browse the repository at this point in the history
  • Loading branch information
dzikoysk committed Jul 1, 2023
1 parent d4d14b8 commit 1a160c7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion reposilite-frontend/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ node {

val lintTask = tasks.register<NpmTask>("lintFrontend") {
// command.set("eslint")
args.set(listOf("src/**"))
// args.set(listOf("src/**"))
args.set(listOf("eslint"))
dependsOn(tasks.npmInstall)
inputs.dir("src")
inputs.dir("node_modules")
Expand All @@ -37,6 +38,7 @@ val lintTask = tasks.register<NpmTask>("lintFrontend") {

val buildTask = tasks.register<NpmTask>("buildFrontend") {
// command.set("vite")
// args.set(listOf("build"))
args.set(listOf("build"))
dependsOn(tasks.npmInstall, lintTask)
inputs.dir(project.fileTree("src"))
Expand Down

0 comments on commit 1a160c7

Please sign in to comment.