Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[cli] Fix a bug from flow that stopped testing for ambiguous obj exactness#4449

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Brianzchen merged 3 commits intoflow-typed:mainfromBrianzchen:exact-error-post-200
May 25, 2023
Merged
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
NextNext commit
[cli] Fix a bug from flow that stopped testing for ambiguous obj exac…
…tness (#4448)
  • Loading branch information
@Brianzchen
Brianzchen authoredMay 25, 2023
commit8ae0b4cb9e6577ece31cebdb8fd6ea9cf43849de
5 changes: 4 additions & 1 deletioncli/src/commands/runTests.js
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -350,7 +350,10 @@ async function writeFlowConfig(repoDirPath, testDirPath, libDefPath, version) {
path.join(testDirPath, '..', '..', 'node_modules'),
'',
'[lints]',
semver.gte(version, '0.104.0') ? 'implicit-inexact-object=error' : '',
semver.gte(version, '0.104.0') && semver.lt(version, '0.201.0')
? 'implicit-inexact-object=error'
: '',
semver.gte(version, '0.201.0') ? 'ambiguous-object-type=error' : '',
].join('\n');
await fs.writeFile(destFlowConfigPath, flowConfigData);
}
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp