def generic_visit()

in fluent/migrate/validator.py [0:0]


    def generic_visit(self, node):
        if isinstance(node, transforms.Source):
            src = node.path
            # Source needs paths to be normalized
            # https://bugzilla.mozilla.org/show_bug.cgi?id=1568199
            if src != mozpath.normpath(src):
                self.issues.append(f'Source "{src}" needs to be a normalized path')
        super().generic_visit(node)