aboutsummaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authorDaniel Gavin <danielgavin5@hotmail.com>2021-12-26 21:04:07 +0100
committerDaniel Gavin <danielgavin5@hotmail.com>2021-12-26 21:04:07 +0100
commit0669cf27fbb9ff3576a6a98c7c690b4f2259f504 (patch)
tree6f337eb41c98342843a9b15c13c503d53150fe00 /src/server
parent46a1cf3b14dc59cccbda6592fe5ab3a93a0e17d0 (diff)
typo
Diffstat (limited to 'src/server')
-rw-r--r--src/server/check.odin2
1 files changed, 1 insertions, 1 deletions
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;
}