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

Appearance settings

Commit 48f08d6

Browse filesBrowse files
committed
Fixed Error
1 parent 21d2763 commit 48f08d6
Copy full SHA for 48f08d6

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎template.go

Copy file name to clipboardExpand all lines: template.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ func (loader *TemplateLoader) Refresh() (err *Error) {
181181

182182
// WatchDir returns true of directory doesn't start with . (dot)
183183
// otherwise false
184-
func (loader *TemplateLoader) findAndAddTemplate(path, module, fullSrcDir, basePath string) (fileBytes []byte, err error) {
184+
func (loader *TemplateLoader) findAndAddTemplate(path, fullSrcDir, basePath string) (fileBytes []byte, err error) {
185185
templateName := filepath.ToSlash(path[len(fullSrcDir)+1:])
186186
// Convert template names to use forward slashes, even on Windows.
187187
if os.PathSeparator == '\\' {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.