Added github.com/revel/revel as an import path to be always copied.

This commit is contained in:
notzippy@gmail.com
2022-04-25 15:41:54 -07:00
parent e9e804adff
commit ff8817efd9
2 changed files with 2 additions and 2 deletions

2
.vscode/tasks.json vendored
View File

@@ -6,7 +6,7 @@
{
"label": "Clean-Test-Project",
"type": "shell",
"command": "rm -rf ${workspaceRoot}/.temp/revel/reveltest"
"command": "rm -rf ${workspaceRoot}/.temp/revel/reveltest && mkdir -p ${workspaceRoot}/.temp/revel/GOPATH"
},
{
"label": "Update Go Mod",

View File

@@ -308,7 +308,7 @@ func (rp *RevelContainer) loadModules(callback RevelCallback) (err error) {
// Adds a module paths to the container object.
func (rp *RevelContainer) vendorInitilizeLocal(modtxtPath string, revel_modules_keys []string) []*Mod {
revel_modules := []string{}
revel_modules := []string{"github.com/revel/revel"}
for _, key := range revel_modules_keys {
moduleImportPath := rp.Config.StringDefault(key, "")
if moduleImportPath == "" {