Skip to content

Commit

Permalink
Fix docs for directory method
Browse files Browse the repository at this point in the history
  • Loading branch information
muuki88 committed Mar 24, 2017
1 parent 7d8883a commit 2b184f0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions io/src/main/scala/sbt/io/PathMapper.scala
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,9 @@ abstract class Mapper {
* The resulting mappings sequence will look something like this
*
* {{{
* File($baseDirectory/extras) -> "extras"
* File($baseDirectory/extras/file1) -> "extras/file1"
* File($baseDirectory/extras/file2) -> "extras/"file2"
* File($baseDirectory/extras/file2) -> "extras/file2"
* ...
* }}}
*
Expand Down Expand Up @@ -155,7 +156,7 @@ abstract class Mapper {
* @example Add a static directory "extra" and re-map the destination to a different path
* {{{
* mappings ++= contentOf(baseDirectory.value / "extra").map {
* case (src, destination => src -> s"new/path/$destination"
* case (src, destination) => src -> s"new/path/$destination"
* }
* }}}
*
Expand Down

0 comments on commit 2b184f0

Please sign in to comment.