Skip to content

Commit 5ff5ba7

Browse files
authored
🐛 Fix static files fixed path output (#82)
<!-- Copyright (C) 2020-2022 Arm Limited or its affiliates and Contributors. All rights reserved. SPDX-License-Identifier: Proprietary --> ### Description <!-- Please add any detail or context that would be useful to a reviewer. --> ### Test Coverage <!-- Please put an `x` in the correct box e.g. `[x]` to indicate the testing coverage of this change. --> - [ ] This change is covered by existing or additional automated tests. - [ ] Manual testing has been performed (and evidence provided) as automated testing was not feasible. - [ ] Additional tests are not required for this change (e.g. documentation update).
1 parent 7ae7f4a commit 5ff5ba7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changes/20250407145829.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
:bug: Fix static files fixed path output

generator/cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func RunCLI(ctx context.Context) (err error) {
8181
return
8282
}
8383

84-
err = codegen.CopyStaticFiles(ctx, filepath.Join("..", "extensions"))
84+
err = codegen.CopyStaticFiles(ctx, filepath.Dir(d.DestinationPath))
8585
if err != nil {
8686
return
8787
}

0 commit comments

Comments
 (0)