stub out get_env for js
This commit is contained in:
1 parent
3862555153
commit
8c8406cc4d
1 file changed
+5
@@ -252,4 +252,9 @@ current_thread_id :: proc "contextless" () -> int {
|
||||
|
||||
lookup_env :: proc(key: string, allocator := context.allocator) -> (value: string, found: bool) {
|
||||
return "", false
|
||||
}
|
||||
|
||||
get_env :: proc(key: string, allocator := context.allocator) -> string {
|
||||
value, _ := lookup_env(key, allocator)
|
||||
return value
|
||||
}
|
||||
Reference in new issue
Block a user