Skip to content

Commit 5e9b8c9

Browse files
committed
Fix lint
1 parent dae3d9f commit 5e9b8c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/steps/validate-rest-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export default async function validateRestSpec (model: model.Model, jsonSpec: Ma
162162
body = Body.yesBody
163163
}
164164

165-
if (definition.attachedBehaviors) {
165+
if (definition.attachedBehaviors != null) {
166166
for (const attachedBehavior of definition.attachedBehaviors) {
167167
const type_ = getDefinition({
168168
namespace: '_spec_utils',

0 commit comments

Comments
 (0)