Skip to content

Commit 06e3e55

Browse files
authored
Typo fixed in scripts.md (#2974)
1 parent 3acb3d2 commit 06e3e55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/docs/guides/scripting/scripts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ The Class Wrapper's behaviour is the default described throughout the documentat
287287

288288
#### Object Wrapper
289289
This wrapper is an alternative to the [Class Wrapper](#class-wrapper) and can be forced with `--object-wrapper` flag and `>// using objectWrapper` directive.
290-
It is used by default for Scala 3 scripts compiled for JS platform. Can suffer from deadlocks then using multithreaded code.
290+
It is used by default for Scala 3 scripts compiled for JS platform. Can suffer from deadlocks when using multithreaded code.
291291

292292
**Limitations**
293293
- When running background threads from the script and using e.g. `scala.concurrent.Await` on them may result in a deadlock due to unfinished initialization of the wrapper object.
@@ -319,4 +319,4 @@ On the other hand:
319319
- You can pass a single "entry point" script as input to Ammonite, and Ammonite finds the scripts it depends on via
320320
the `import $file` directives
321321
- Scala CLI requires all scripts to be added with `//> using file ...` or to be passed beforehand, either one-by-one, or by putting them in a directory, and
322-
passing the directory to Scala CLI
322+
passing the directory to Scala CLI

0 commit comments

Comments
 (0)