Skip to content

Commit fb3ca3a

Browse files
committed
fix lint error for empty catch block
1 parent 9dd2d5a commit fb3ca3a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/gen-semconv-ts.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,9 @@ function genSemconvTs(wsDir) {
114114
if (gitRemoteUrl.endsWith('/opentelemetry-js.git')) {
115115
srcIsLocal = true;
116116
}
117-
} catch {}
117+
} catch {
118+
// pass
119+
}
118120

119121
// Find or get semconv sources from a opentelemetry-js.git clone.
120122
let semconvSrcDir;

0 commit comments

Comments
 (0)