Skip to content

repository_simulator_setup.go: Use filepath.Join() instead of concatenation#624

Merged
trishankatdatadog merged 1 commit intotheupdateframework:masterfrom
udf2457:master
Mar 8, 2024
Merged

repository_simulator_setup.go: Use filepath.Join() instead of concatenation#624
trishankatdatadog merged 1 commit intotheupdateframework:masterfrom
udf2457:master

Conversation

@udf2457
Copy link
Copy Markdown
Contributor

@udf2457 udf2457 commented Mar 8, 2024

Per title.

e.g. tmpDir + metadataPath is just weird and fragile, use filepath.Join(), its what its there for. 😉

Use filepath.Join() instead of concatenation

Signed-off-by: udf2457 <[email protected]>
@trishankatdatadog trishankatdatadog merged commit dfa2ae1 into theupdateframework:master Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants