Skip to content

Commit f4faa5a

Browse files
authored
docs: fix typo in annotation for enable_recording (#620)
1 parent ec28942 commit f4faa5a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lua/plenary/job.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ local F = require "plenary.functional"
1313
---@field detached? boolean Spawn the child in a detached state making it a process group leader
1414
---@field skip_validation? boolean Skip validating the arguments
1515
---@field enable_handlers? boolean If set to false, disables all callbacks associated with output (default: true)
16-
---@field enabled_recording? boolean
16+
---@field enable_recording? boolean
1717
---@field on_start? fun()
1818
---@field on_stdout? fun(error: string, data: string, self?: Job)
1919
---@field on_stderr? fun(error: string, data: string, self?: Job)
@@ -457,12 +457,12 @@ function Job:sync(timeout, wait_interval)
457457
end
458458

459459
function Job:result()
460-
assert(self.enable_recording, "'enabled_recording' is not enabled for this job.")
460+
assert(self.enable_recording, "'enable_recording' is not enabled for this job.")
461461
return self._stdout_results
462462
end
463463

464464
function Job:stderr_result()
465-
assert(self.enable_recording, "'enabled_recording' is not enabled for this job.")
465+
assert(self.enable_recording, "'enable_recording' is not enabled for this job.")
466466
return self._stderr_results
467467
end
468468

0 commit comments

Comments
 (0)