Skip to content

Commit f4de885

Browse files
committed
Fix linting issues
1 parent c925a42 commit f4de885

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/dd-trace/src/appsec/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function enable (_config) {
107107
isEnabled = true
108108
config = _config
109109
} catch (err) {
110-
if (!IS_SERVERLESS) {
110+
if (IS_SERVERLESS) {
111111
log.debug('[ASM] Serverless mode: suppressing error log, calling disable()')
112112
} else {
113113
log.error('[ASM] Unable to start AppSec', err)

0 commit comments

Comments
 (0)