Skip to content

Commit

Permalink
Correct bug in SassPlugin.defineSassTask
Browse files Browse the repository at this point in the history
check if lastrun isDefined
  • Loading branch information
jokade committed Aug 24, 2017
1 parent 3c49339 commit 7c86e51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sbt
@@ -1,4 +1,4 @@
version in ThisBuild := "0.0.4"
version in ThisBuild := "0.0.5-SNAPSHOT"

scalaVersion in ThisBuild := "2.10.6"

Expand Down
Expand Up @@ -90,7 +90,7 @@ object SassPlugin extends AutoPlugin {
IO.createDirectory(cwd)
val sass = sassCommand.value
val logger = streams.value.log
var modified = false
var modified = lastrun.isEmpty
inputs.value.foreach{ f =>
val (src,relDest) = f.data
val dest = cwd / relDest
Expand Down

0 comments on commit 7c86e51

Please sign in to comment.