File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ func New(path *paths.Path) (*Sketch, error) {
115
115
}
116
116
117
117
// Collect files
118
- for _ , p := range * sketchFolderFiles {
118
+ for _ , p := range sketchFolderFiles {
119
119
// Skip files that can't be opened
120
120
f , err := p .Open ()
121
121
if err != nil {
@@ -160,7 +160,7 @@ func New(path *paths.Path) (*Sketch, error) {
160
160
161
161
// supportedFiles reads all files recursively contained in Sketch and
162
162
// filter out unneded or unsupported ones and returns them
163
- func (s * Sketch ) supportedFiles () (* paths.PathList , error ) {
163
+ func (s * Sketch ) supportedFiles () (paths.PathList , error ) {
164
164
filterValidExtensions := func (p * paths.Path ) bool {
165
165
return globals .MainFileValidExtensions [p .Ext ()] || globals .AdditionalFileValidExtensions [p .Ext ()]
166
166
}
@@ -180,7 +180,7 @@ func (s *Sketch) supportedFiles() (*paths.PathList, error) {
180
180
if err != nil {
181
181
return nil , err
182
182
}
183
- return & files , nil
183
+ return files , nil
184
184
}
185
185
186
186
// GetProfile returns the requested profile or an error if not found
You can’t perform that action at this time.
0 commit comments