diff --git a/implementations/Crafter.Build-Command.cpp b/implementations/Crafter.Build-Command.cpp index 0500bbc..2ee90df 100644 --- a/implementations/Crafter.Build-Command.cpp +++ b/implementations/Crafter.Build-Command.cpp @@ -105,7 +105,7 @@ namespace Crafter { std::filesystem::path GetPath() { char path[MAX_PATH]; DWORD length = GetModuleFileNameA(NULL, path, MAX_PATH); - std::cout << lenght << std::endl; + std::cout << length << std::endl; if (length == 0) { std::cout << "failed" << std::endl; throw std::runtime_error("Failed to get executable path");