Skip to content

Commit d4944b2

Browse files
authored
Update Readme.adoc
1 parent 713eadc commit d4944b2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Readme.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2265,7 +2265,10 @@ string, int or set representations of the `os.PermSet` via:
22652265
[#0-10-7]
22662266
=== 0.10.7
22672267

2268-
* Allow multi-segment paths segments for literals https://github.com/com-lihaoyi/os-lib/pull/297
2268+
* Allow multi-segment paths segments for literals https://github.com/com-lihaoyi/os-lib/pull/297: You
2269+
can now write `os.pwd / "foo/bar/qux"` rather than `os.pwd / "foo" / "bar" / "qux"`. Note that this
2270+
is only allowed for string literals, and non-literal path segments still need to be wrapped e.g.
2271+
`def myString = "foo/bar/qux"; os.pwd / os.SubPath(myString)` for security and safety purposes
22692272

22702273
[#0-10-6]
22712274
=== 0.10.6

0 commit comments

Comments
 (0)