main: do not run legacy init interpreter with run subcommand

Do not run the new init interpreter either. Just run the code.
Этот коммит содержится в:
Ayke van Laethem 2018-11-17 14:48:48 +01:00
родитель 21db7e6099
коммит ecb4742316
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: E97FF5335DFDFDED

Просмотреть файл

@ -342,8 +342,9 @@ func FlashGDB(pkgName, target, port string, ocdOutput bool, config *BuildConfig)
// Run the specified package directly (using JIT or interpretation). // Run the specified package directly (using JIT or interpretation).
func Run(pkgName string) error { func Run(pkgName string) error {
config := compiler.Config{ config := compiler.Config{
RootDir: sourceDir(), RootDir: sourceDir(),
GOPATH: getGopath(), GOPATH: getGopath(),
InitInterp: true,
} }
c, err := compiler.NewCompiler(pkgName, config) c, err := compiler.NewCompiler(pkgName, config)
if err != nil { if err != nil {