BeiBaiNian opened a new pull request, #86:
URL: https://github.com/apache/casbin-typeorm-adapter/pull/86

   # Why
   
   casbin-typeorm-adapter is an Apache Incubator project; source files should 
carry the Apache License 2.0 header. Two of the nine source files (src/index.ts 
and test/config.ts) were missing the license header. This PR adds them for 
consistency and RAT compliance.
   
   # What changed
   
   - src/index.ts: prepended the standard ASF license header (16 lines)
   - test/config.ts: prepended the standard ASF license header (16 lines)
   - Header uses the ASF standard format from the casbin main repo (// Licensed 
to the Apache Software Foundation (ASF) under one), no copyright year, double 
quotes, byte-identical to the main repo.
   - Single commit: docs: add apache license headers to source files
   
   # Verification
   
   - Header is byte-identical to casbin main repo's model/model.go (verified 
with diff)
   - lint: passed (eslint src/**/*.{ts,js,jsx})
   - build: passed (rimraf lib && tsc)
   - test: 4 suites / 4 tests passed (jest --runInBand, better-sqlite3 
in-memory DB)
   - No changes beyond the headers (git show confirms index.ts body is 
untouched)
   - husky pre-commit hook (eslint --fix) ran with no extra changes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to