Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ts build cwd #396

Merged
merged 6 commits into from
Feb 20, 2020
Merged

fix: ts build cwd #396

merged 6 commits into from
Feb 20, 2020

Conversation

echosoar
Copy link
Member

ts build cwd

@echosoar echosoar changed the base branch from master to 2.x February 20, 2020 16:25
@codecov-io
Copy link

codecov-io commented Feb 20, 2020

Codecov Report

Merging #396 into 2.x will increase coverage by 0.07%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##              2.x     #396      +/-   ##
==========================================
+ Coverage   86.48%   86.56%   +0.07%     
==========================================
  Files          77       77              
  Lines        2057     2054       -3     
  Branches      124      124              
==========================================
- Hits         1779     1778       -1     
+ Misses        256      254       -2     
  Partials       22       22
Impacted Files Coverage Δ
packages/midway-bin/lib/cmd/build.js 85.18% <100%> (+1.12%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7a8ec94...044e55e. Read the comment docs.

if (/\.tsx?$/.test(item)) {
args.push(item);
}
args.push(item);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里貌似可以去重一下

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

前面的 files 和 globby 出来的文件可能有重复.. 不过测试了一下 tsc 也能处理

@czy88840616 czy88840616 merged commit 83732f9 into 2.x Feb 20, 2020
@czy88840616 czy88840616 deleted the fix/build-ts branch February 20, 2020 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants