fixup: fix missing `self` (#84)

This commit is contained in:
Dheepak Krishnamurthy 2021-10-12 19:17:24 -06:00 committed by GitHub
parent 08d1340ec9
commit b9e06deb33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ end
function M:init(options)
self.options = options or {}
component_no = component_no + 1
if not options.component_name then
if not self.options.component_name then
self.options.component_name = tostring(component_no)
end
self.component_no = component_no