aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/requests.odin4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/server/requests.odin b/src/server/requests.odin
index 899d060..b42a3e3 100644
--- a/src/server/requests.odin
+++ b/src/server/requests.odin
@@ -1550,7 +1550,7 @@ notification_did_change_watched_files :: proc(
find_all_package_aliases()
} else {
if uri, ok := common.parse_uri(change.uri, context.temp_allocator); ok {
- if data, ok := os.read_entire_file(uri.path); ok {
+ if data, ok := os.read_entire_file(uri.path, context.temp_allocator); ok {
index_file(uri, cast(string)data)
}
}
@@ -1559,8 +1559,6 @@ notification_did_change_watched_files :: proc(
find_all_package_aliases()
}
}
-
-
}
return .None