Skip to content

Commit bc94569

Browse files
committed
Avoid error when deleting non-existing folder in ps script
1 parent 19c6677 commit bc94569

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OpenTelemetry.SemanticConventions/scripts/generate.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ $GENERATOR_VERSION = "v0.9.2"
77

88
Set-Location $SCRIPT_DIR
99

10-
Remove-Item -r -fo semantic-conventions
10+
Remove-Item -r -fo -ErrorAction SilentlyContinue semantic-conventions
1111
mkdir semantic-conventions
1212
Set-Location semantic-conventions
1313

0 commit comments

Comments
 (0)