Skip to content

Commit

Permalink
fix: remove deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
dnalborczyk committed Aug 24, 2022
1 parent 13ab6b8 commit 041a3a4
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/ServerlessOffline.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
defaultOptions,
SERVER_SHUTDOWN_TIMEOUT,
} from './config/index.js'
import { gray, orange } from './config/colors.js'
import { gray } from './config/colors.js'

export default class ServerlessOffline {
#cliOptions = null
Expand Down Expand Up @@ -225,14 +225,6 @@ export default class ServerlessOffline {
...this.#cliOptions,
}

if (this.#options.useChildProcesses) {
log.notice()
log.warning(
orange(`'--useChildProcesses' is deprecated and will be removed in the next major version. Worker threads, the current default, should provide the same if not an even better developer experience.
If you are experiencing any issues please let us know: https://github.com/dherault/serverless-offline/issues`),
)
}

// Parse CORS options
this.#options.corsAllowHeaders = this.#options.corsAllowHeaders
.replace(/\s/g, '')
Expand Down

0 comments on commit 041a3a4

Please sign in to comment.