Skip to content

Commit

Permalink
Merge pull request #32 from mkurz/fixes
Browse files Browse the repository at this point in the history
Prefere newer sbt syntax in scripted tests
  • Loading branch information
mkurz committed Jan 27, 2024
2 parents 5d16fa7 + 5e9fd58 commit 81ac149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sbt-test/sbt-coffeescript-plugin/coffee/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ lazy val root = (project in file(".")).enablePlugins(SbtWeb)
val checkMapFileContents = taskKey[Unit]("check that map contents are correct")

checkMapFileContents := {
val contents = IO.read((WebKeys.public in Assets).value / "coffee" / "a.js.map")
val contents = IO.read((Assets / WebKeys.public).value / "coffee" / "a.js.map")
if (contents != """{
| "version": 3,
| "file": "a.js",
Expand Down

0 comments on commit 81ac149

Please sign in to comment.