Update docs/require-by-string-relative-paths.md

Co-authored-by: Alexander McCord <11488393+alexmccord@users.noreply.github.com>
This commit is contained in:
menarulalam 2023-11-14 15:01:45 -08:00 committed by GitHub
parent 6c987bb939
commit f83470d97b
Signed by: DevComp
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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:
```lua
> local math = require("/Users/JohnDoe/LuauModules/Math/math")
local math = require("/Users/JohnDoe/LuauModules/Math/math")
```
This would cause the following: