Skip to content

Commit 715a41b

Browse files
committed
chore: comment
1 parent 008ee78 commit 715a41b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: internal/cli/compile/compile.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ func runCompileCommand(cmd *cobra.Command, args []string) {
196196
if err != nil {
197197
showPropertiesWithEmptySketchPath := path == "" && showPropertiesM != showPropertiesModeDisabled
198198
if showPropertiesWithEmptySketchPath {
199-
// properties were requested and no sketch path was provided
200-
// let's use an empty sketch struct and hope for the best
199+
// only properties were requested and no sketch path was provided
200+
// an empty sketch is used to collect properties without sketch related values
201201
sk = nil
202202
} else {
203203
feedback.Fatal(tr("Error opening sketch: %v", err), feedback.ErrGeneric)

0 commit comments

Comments
 (0)