Skip to content

Commit

Permalink
Minor code tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
eriwen committed Feb 9, 2013
1 parent 03cba78 commit 600b22b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/main/groovy/com/eriwen/gradle/js/tasks/JsHintTask.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/
package com.eriwen.gradle.js.tasks

import org.gradle.api.tasks.Input
import org.gradle.api.tasks.TaskAction
import com.eriwen.gradle.js.ResourceUtil
import com.eriwen.gradle.js.RhinoExec
Expand All @@ -28,10 +29,8 @@ class JsHintTask extends SourceTask {
private final RhinoExec rhino = new RhinoExec(project)

@OutputFile def dest = new File(project.buildDir, "jshint.log")

def ignoreExitCode = true;

def outputToStdOut = false;
@Input def ignoreExitCode = true
@Input def outputToStdOut = false

File getDest() {
project.file(dest)
Expand Down

0 comments on commit 600b22b

Please sign in to comment.