Skip to content
This repository has been archived by the owner on Apr 13, 2021. It is now read-only.

Commit

Permalink
Merge pull request #203 from tpolecat/forward-port-195
Browse files Browse the repository at this point in the history
forward-port #195
  • Loading branch information
tpolecat authored Nov 5, 2017
2 parents 8c7d6a4 + 060f9f3 commit 84136b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin/src/main/scala/tut/TutPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ object TutPlugin extends AutoPlugin {
},
NothingFilter
),
scalacOptions in Tut := (scalacOptions in (Compile, console)).value,
scalacOptions in Tut := (scalacOptions in Test).value,
tutPluginJars := {
// no idea if this is the right way to do this
val deps = (libraryDependencies in Tut).value.filter(_.configurations.fold(false)(_.startsWith("plugin->")))
Expand Down
2 changes: 1 addition & 1 deletion tests/src/sbt-test/tut/test-07-unused-imports/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ check := {
sys.error("Output doesn't match expected: \n" + actual.mkString("\n"))
}
scalacOptions ++= Seq("-Xfatal-warnings", "-Ywarn-unused-import", "-feature")
(scalacOptions in (Compile, console)) := scalacOptions.value.filterNot(Set("-Ywarn-unused-import"))
(scalacOptions in Test) := scalacOptions.value.filterNot(Set("-Ywarn-unused-import"))

0 comments on commit 84136b1

Please sign in to comment.