approvers / OreOreBot2

限界開発鯖を代表する BOT はらちょ を TypeScript+discord.js で作り直し。 オレオレ BOT です。別に詐欺とかはしません。
https://haracho.approvers.dev
MIT License
13 stars 2 forks source link

fix: ビルドバージョンの表示にVersionFetcherを使用するよう修正 #1114

Closed MikuroXina closed 11 months ago

MikuroXina commented 12 months ago

Fixes #750.

Type of Change:

コードの修正

Details of implementation (実施内容)

process.env.npm_package_version を使用していた箇所を, VersionFetcher オブジェクトが (package.json 経由で) 取得したバージョン文字列に置き換えました.

cloudflare-workers-and-pages[bot] commented 12 months ago

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: fb17ea7
Status:⚡️  Build in progress...

View logs

codecov[bot] commented 12 months ago

Codecov Report

Merging #1114 (fb17ea7) into main (22b39d2) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1114   +/-   ##
=======================================
  Coverage   72.43%   72.43%           
=======================================
  Files          80       80           
  Lines        5464     5464           
  Branches      486      486           
=======================================
  Hits         3958     3958           
  Misses       1021     1021           
  Partials      485      485           
Flag Coverage Δ
unittests 72.43% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more