Merge branch 'lang/ecs' into lang/leaks2
This commit is contained in:
commit
21b828fe5c
4 changed files with 46 additions and 3 deletions
|
|
@ -17,7 +17,8 @@ export function telemetry_set_id(telemetry_st: mut TelemetryState, id: string) -
|
|||
var v = telemetry__read_obj(path)
|
||||
if v == null { v = Value.object() }
|
||||
Value.put(v, "id", Value.str(id))
|
||||
Fs.write_text(path, Json.encode(v))
|
||||
Json.write_file(v, path)
|
||||
Json.free(v)
|
||||
}
|
||||
telemetry__fact(telemetry_st, TELEMETRY_ID, 0, 0, 0)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue