Skip to content

Commit

Permalink
Rename private method
Browse files Browse the repository at this point in the history
  • Loading branch information
dnalborczyk committed Aug 19, 2019
1 parent b16086b commit 15f1520
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/handler-runner/HandlerRunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = class HandlerRunner {

if (useWorkerThreads) {
// worker threads
this._verifyNodejsVersionCompatibility()
this._verifyWorkerThreadCompatibility()

const WorkerThreadRunner = require('./WorkerThreadRunner.js') // eslint-disable-line global-require
return new WorkerThreadRunner(
Expand Down Expand Up @@ -51,7 +51,7 @@ module.exports = class HandlerRunner {
return new ServerlessInvokeLocalRunner(this._funOptions, this._stage)
}

_verifyNodejsVersionCompatibility() {
_verifyWorkerThreadCompatibility() {
const { node: currentVersion } = process.versions
const requiredVersionRange = '>=11.7.0'

Expand Down

0 comments on commit 15f1520

Please sign in to comment.