summaryrefslogtreecommitdiff
path: root/js/dir.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/dir.ts')
-rw-r--r--js/dir.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/dir.ts b/js/dir.ts
index ccbbd2458..660a7df2b 100644
--- a/js/dir.ts
+++ b/js/dir.ts
@@ -5,11 +5,11 @@ import * as flatbuffers from "./flatbuffers";
import { sendSync } from "./dispatch";
/**
- * cwd() Return a string representing the current working directory.
+ * `cwd()` Return a string representing the current working directory.
* If the current directory can be reached via multiple paths
- * (due to symbolic links), cwd() may return
+ * (due to symbolic links), `cwd()` may return
* any one of them.
- * throws NotFound exception if directory not available
+ * throws `NotFound` exception if directory not available
*/
export function cwd(): string {
const builder = flatbuffers.createBuilder();
@@ -24,8 +24,8 @@ export function cwd(): string {
}
/**
- * chdir() Change the current working directory to path.
- * throws NotFound exception if directory not available
+ * `chdir()` Change the current working directory to path.
+ * throws `NotFound` exception if directory not available
*/
export function chdir(directory: string): void {
const builder = flatbuffers.createBuilder();