Skip to content

Commit 858d826

Browse files
committed
refactor: remove unecessary object key check
1 parent 98ca243 commit 858d826

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/deploy/stepFunctions/compileStateMachines.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ module.exports = {
100100
let DependsOn = [];
101101
let LoggingConfiguration;
102102
let Tags;
103-
if (typeof stateMachineObj.inheritGlobalTags !== 'undefined' && stateMachineObj.inheritGlobalTags === false) {
103+
if (stateMachineObj.inheritGlobalTags === false) {
104104
Tags = [];
105105
} else {
106106
Tags = toTags(this.serverless.service.provider.tags);

0 commit comments

Comments
 (0)