Skip to content

Commit 9dbcd1f

Browse files
committed
Fix typo and clarify contributing.md
1 parent 6a506c3 commit 9dbcd1f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ More tests can be added to this folder to test specific functionality, or new te
305305

306306
Please try to include tests for your new features in your pull request. Additionally, if your pr breaks a test that should be passing please update it accordingly.
307307

308-
It can also be a good idea to install `busted` locally as it tends to be faster to execute:
308+
It is a good idea to prefer Docker due to it having a very reliable Lua setup. But if you have performance problems with it, installing `busted` locally might help as it tends to be faster to execute:
309309

310310
1. Install Luajit (due to PoB accessing the jit library, it non-Luajit versions might not work)
311311
2. Install [Luarocks](https://luarocks.org/) (for example, through Scoop or your Linux package manager)

src/Modules/Common.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ function new(className, extraArg)
153153
error("Parent class '"..parent._className.."' of class '"..class._className.."' has already been initialised")
154154
end
155155
if self ~= object then
156-
error(string.format("Parent class %s contructor of class %s was not provided self. Are you perhaps calling it with self.%s instead of self:%s?", parent._className, className, parent._className, parent._className))
156+
error(string.format("Parent class %s constructor of class %s was not provided self. Are you perhaps calling it with self.%s instead of self:%s?", parent._className, className, parent._className, parent._className))
157157
end
158158
parent[parent._className](self, ...)
159159
object._parentInit[parent] = true

0 commit comments

Comments
 (0)