Add test script
This commit is contained in:
parent
648ab12c5b
commit
ea28b5c8cf
@ -21,7 +21,7 @@ func (self *fileImporter) Initialize(context *Context) error {
|
|||||||
|
|
||||||
relPath, err := filepath.Rel(self.sourceDir, path)
|
relPath, err := filepath.Rel(self.sourceDir, path)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
file, err := context.CreateFileFromAsset(relPath, path)
|
file, err := context.CreateFileFromAsset(relPath, path)
|
||||||
|
Loading…
Reference in New Issue
Block a user