diff --git a/Upsilon/Binder/Binder.cs b/Upsilon/Binder/Binder.cs index 0966fbf..19252fe 100644 --- a/Upsilon/Binder/Binder.cs +++ b/Upsilon/Binder/Binder.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using System.Collections.Immutable; +using System.IO; using System.Linq; using Upsilon.BaseTypes; using Upsilon.BaseTypes.Number; @@ -257,8 +258,9 @@ namespace Upsilon.Binder var module = _script.Options.ModuleHandler.GetModule(_script, moduleName); if (module == null) { + var fullPath = Path.GetFullPath(_script.Options.ScriptLoader.ModulesPath); _diagnostics.LogError( - $"Can't find module '{moduleName}' in folder '{_script.Options.ScriptLoader.ModulesPath}'", + $"Can't find module '{moduleName}' in folder '{fullPath}'", parameter.Span); } else