Uploaded image for project: 'Apache Rat'
  1. Apache Rat
  2. RAT-234

TypeScript files (*.ts) are categorized as binary files and are ignored

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.12
    • 0.13
    • None
    • None

    Description

      When running RAT check against my web project containing TypeScript source files it turned out that RAT thinks that *.ts files are binary files and ignores them all.
      As far as I understand it happens because "TS" extension is hardcoded as a binary extension in the BinaryGuesser class.
      I have found no way how to override this at the configuration level and make RAT to check *.ts files as well.

      *****************************************************
        Files with Apache License headers will be marked AL
        Binary files (which do not require any license headers) will be marked B
        Compressed archives will be marked A
        Notices, licenses etc. will be marked N
        B     C:/work/bacibbd/lineage/web/ui/src/app/app.component.ts
        B     C:/work/bacibbd/lineage/web/ui/src/app/app.module.ts
        B     C:/work/bacibbd/lineage/web/ui/src/app/lineage/attribute-list/attribute-list.component.ts
        B     C:/work/bacibbd/lineage/web/ui/src/app/lineage/attribute-view/attribute-view.component.ts
        B     C:/work/bacibbd/lineage/web/ui/src/app/lineage/data-type-view/data-type-view.component.ts
        B     C:/work/bacibbd/lineage/web/ui/src/app/lineage/descriptor-list/lineage-descriptor-list.component.ts
        B     C:/work/bacibbd/lineage/web/ui/src/app/lineage/expression-inline-view.component.ts
        B     C:/work/bacibbd/lineage/web/ui/src/app/lineage/expression-view-dialog.component.ts
        B     C:/work/bacibbd/lineage/web/ui/src/app/lineage/icon.ts
        B     C:/work/bacibbd/lineage/web/ui/src/app/lineage/lineage-dag-item-details-header.component.ts
        B     C:/work/bacibbd/lineage/web/ui/src/app/lineage/lineage-dag-item-details-section-header.component.ts
        B     C:/work/bacibbd/lineage/web/ui/src/app/lineage/lineage-graph.component.ts
        B     C:/work/bacibbd/lineage/web/ui/src/app/lineage/lineage-view/lineage-view.component.ts
        B     C:/work/bacibbd/lineage/web/ui/src/app/lineage/lineage.component.ts
        B     C:/work/bacibbd/lineage/web/ui/src/app/lineage/lineage.module.ts
        B     C:/work/bacibbd/lineage/web/ui/src/app/lineage/lineage.service.ts
        B     C:/work/bacibbd/lineage/web/ui/src/app/lineage/operation-node-details/operation-node-details.component.ts
        B     C:/work/bacibbd/lineage/web/ui/src/app/lineage/types.ts
        B     C:/work/bacibbd/lineage/web/ui/src/app/lineage/visModel.ts
        B     C:/work/bacibbd/lineage/web/ui/src/main.ts
       
      *****************************************************
      

      Attachments

        Activity

          People

            pottlinger Philipp Ottlinger
            wajda Alex Vayda
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: