summaryrefslogtreecommitdiff
path: root/js/permissions.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-05-23 19:28:29 +0300
committerGitHub <noreply@github.com>2019-05-23 19:28:29 +0300
commit2952fb5405eabbb9e603e90fe2e972e9bddfcadd (patch)
treebcf78f5884e7ca0a8ce789f035782e4536617332 /js/permissions.ts
parent1386b6ead586da15d0285941f2d980acc1d75eee (diff)
Rename --allow-high-precision to --allow-hrtime (#2398)
Diffstat (limited to 'js/permissions.ts')
-rw-r--r--js/permissions.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/permissions.ts b/js/permissions.ts
index d0885ba6a..13bcf7f90 100644
--- a/js/permissions.ts
+++ b/js/permissions.ts
@@ -11,7 +11,7 @@ export interface Permissions {
net: boolean;
env: boolean;
run: boolean;
- highPrecision: boolean;
+ hrtime: boolean;
// NOTE: Keep in sync with src/permissions.rs
}
@@ -30,7 +30,7 @@ function createPermissions(inner: msg.PermissionsRes): Permissions {
net: inner.net(),
env: inner.env(),
run: inner.run(),
- highPrecision: inner.highPrecision()
+ hrtime: inner.hrtime()
};
}