Skip to content

Commit fdfc1bd

Browse files
committed
added better message
1 parent 6603eaa commit fdfc1bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlmesh/core/linter/rules/builtin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def check_model(self, model: Model) -> t.Optional[RuleViolation]:
133133
rule=self,
134134
violation_msg=f"Model '{model.name}' depends on unregistered external models: "
135135
f"{', '.join(m for m in not_registered_external_models)}. "
136-
"Please register them in the external_models.yaml file.",
136+
"Please register them in the external models file. This can be done by running 'sqlmesh create_external_models'.",
137137
)
138138

139139

0 commit comments

Comments
 (0)