mirror of
https://github.com/luau-lang/rfcs.git
synced 2025-05-04 10:43:48 +01:00
Update docs/require-by-string-relative-paths.md
Co-authored-by: Alexander McCord <11488393+alexmccord@users.noreply.github.com>
This commit is contained in:
parent
6c987bb939
commit
f83470d97b
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ local sqrt = require("../MathHelperFunctions/sqrt")
|
||||||
If we then launched the Luau CLI from the directory `/Users/JohnDoe/Projects/MyCalculator` and required `math.luau` as follows:
|
If we then launched the Luau CLI from the directory `/Users/JohnDoe/Projects/MyCalculator` and required `math.luau` as follows:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
> local math = require("/Users/JohnDoe/LuauModules/Math/math")
|
local math = require("/Users/JohnDoe/LuauModules/Math/math")
|
||||||
```
|
```
|
||||||
|
|
||||||
This would cause the following:
|
This would cause the following:
|
||||||
|
|
Loading…
Add table
Reference in a new issue