From 0669cf27fbb9ff3576a6a98c7c690b4f2259f504 Mon Sep 17 00:00:00 2001 From: Daniel Gavin Date: Sun, 26 Dec 2021 21:04:07 +0100 Subject: typo --- src/server/check.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/check.odin') diff --git a/src/server/check.odin b/src/server/check.odin index 9376b4f..2be55f1 100644 --- a/src/server/check.odin +++ b/src/server/check.odin @@ -44,7 +44,7 @@ when ODIN_OS == "windows" { command = "odin"; } - if code, ok, buffer = common.run_executable(fmt.tprintf("%v check %s %s -no-entry-point", path.dir(uri.path, context.temp_allocator), strings.to_string(collection_builder)), &data); !ok { + if code, ok, buffer = common.run_executable(fmt.tprintf("%v check %s %s -no-entry-point", command, path.dir(uri.path, context.temp_allocator), strings.to_string(collection_builder)), &data); !ok { log.errorf("Odin check failed with code %v for file %v", code, uri.path); return; } -- cgit v1.2.3