From 40dfdd09521bcb8f56150e6791d60445198f27ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Mon, 28 Jun 2021 10:39:52 +0200 Subject: modules: Add module.import.noMounts config Fixes #8708 --- modules/config.go | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/config.go') diff --git a/modules/config.go b/modules/config.go index 1e3e3c798..45a2f22ee 100644 --- a/modules/config.go +++ b/modules/config.go @@ -367,6 +367,7 @@ type Import struct { pathProjectReplaced bool // Set when Path is replaced in project config. IgnoreConfig bool // Ignore any config in config.toml (will still folow imports). IgnoreImports bool // Do not follow any configured imports. + NoMounts bool // Do not mount any folder in this import. NoVendor bool // Never vendor this import (only allowed in main project). Disable bool // Turn off this module. Mounts []Mount -- cgit v1.2.3