Skip to content

Commit 28de9a8

Browse files
committed
Fix flow errors
1 parent b03cefe commit 28de9a8

File tree

1 file changed

+2
-2
lines changed
  • packages/react-native/scripts/codegen/generate-artifacts-executor

1 file changed

+2
-2
lines changed

packages/react-native/scripts/codegen/generate-artifacts-executor/utils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ function readGeneratedAutolinkingOutput(
106106
'build/generated/autolinking/autolinking.json',
107107
);
108108
if (fs.existsSync(autolinkingGeneratedPath)) {
109-
/* $FlowFixMe */
109+
// $FlowFixMe[unsupported-syntax]
110110
return require(autolinkingGeneratedPath);
111111
} else {
112112
console.warn(
@@ -125,7 +125,7 @@ function readReactNativeConfig(
125125
if (autolinkingOutput) {
126126
return autolinkingOutput;
127127
} else if (fs.existsSync(rnConfigFilePath)) {
128-
/* $FlowFixMe */
128+
// $FlowFixMe[unsupported-syntax]
129129
return require(rnConfigFilePath);
130130
} else {
131131
console.warn(`Could not find React Native config at: ${rnConfigFilePath}`);

0 commit comments

Comments
 (0)