Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c6e641d

Browse files
committed
Always add additional files if buildpath is empty
1 parent 5856a16 commit c6e641d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎sketch_loader.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func makeSketch(sketchLocation string, allSketchFilePaths []string, buildLocatio
123123
otherSketchFiles = append(otherSketchFiles, sketchFile)
124124
}
125125
} else if ADDITIONAL_FILE_VALID_EXTENSIONS[ext] {
126-
if !strings.Contains(filepath.Dir(sketchFile.Name), buildLocation) {
126+
if !strings.Contains(filepath.Dir(sketchFile.Name), buildLocation) ||buildLocation==""{
127127
additionalFiles = append(additionalFiles, sketchFile)
128128
}
129129
} else {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /