Skip to content

Commit 8aab8a3

Browse files
authored
Correct using directives on configuration.md (#1278)
I came across the `//> using`-style directive in this page and it didn't work. The syntax on https://scala-cli.virtuslab.org/docs/guides/using-directives/ seems to work so I updated them here.
1 parent ca21edd commit 8aab8a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

website/docs/guides/configuration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ This is achieved by specifying `using` directives inside comments at the top of
4646

4747
```scala
4848
//> using scala "2.13"
49-
//> using scala-js
50-
//> using options -Xasync
49+
//> using platform "scala-js"
50+
//> using options "-Xasync"
5151

5252
// package and import statements follow here ...
5353
```
@@ -67,4 +67,4 @@ import ujson._
6767

6868
Both `import $ivy` and `import $dep` are accepted, and are equivalent. Note that this syntax
6969
might be deprecated - and then removed - in the future. It's recommended to add dependencies
70-
with [`using` directives](#using-directives).
70+
with [`using` directives](#using-directives).

0 commit comments

Comments
 (0)