Update Beaking_Changes.md

This commit is contained in:
Jakub Žádník 2021-12-15 23:39:22 +02:00 committed by GitHub
parent 0450cc25e0
commit aea2adc44a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,6 +9,10 @@ This file attempts to list all breaking changes that came with the new engine up
* `$nu.path` is a regular environment variable: `$nu.env.PATH` (Unix) or `$nu.env.Path` (Windows) * `$nu.path` is a regular environment variable: `$nu.env.PATH` (Unix) or `$nu.env.Path` (Windows)
* All config is now contained within `$config` which can be initialized by `config.nu`. There is no `config.toml` anymore. * All config is now contained within `$config` which can be initialized by `config.nu`. There is no `config.toml` anymore.
## `if`
`if {} {}` is now `if {} else {}`
## `main` Command in Scripts ## `main` Command in Scripts
If the script contains `main` it will be ran after all the script is executed. If the script contains `main` it will be ran after all the script is executed.