Skip to content

Commit 0fb8f37

Browse files
authored
DOCSP-49649-remove-pwd-cd (#402)
* remove pwd cd * remove extra cd * Empty-Commit
1 parent 0b0714f commit 0fb8f37

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

source/reference/methods.txt

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -869,12 +869,6 @@ Native Methods
869869

870870
- .. include:: /includes/examples/ex-build-info-command.rst
871871

872-
* - .. _mongosh-native-method-cd:
873-
874-
``cd()``
875-
876-
- Changes the current working directory to the specified path.
877-
878872
* - .. _mongosh-native-method-isInteractive:
879873

880874
``isInteractive()``
@@ -912,12 +906,6 @@ Native Methods
912906
> print(x)
913907
example text
914908

915-
* - .. _mongosh-native-method-pwd:
916-
917-
``pwd()``
918-
919-
- Returns the current working directory of the active shell session.
920-
921909
* - .. _mongosh-native-method-quit:
922910

923911
``quit()``

source/write-scripts/require-load-differences.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,6 @@ The type of script determines how you specify file paths with
6868
<https://nodejs.org/api/modules.html>`__, starting from the file
6969
where ``require()`` was called.
7070

71-
.. tip::
72-
73-
To return the current working directory of the shell, run the
74-
:ref:`pwd() <mongosh-native-method-pwd>` method from your script.
75-
76-
To change the shell's working directory, use the :ref:`cd()
77-
<mongosh-native-method-cd>` method in your script.
7871

7972
Load External Code in a mongosh Script
8073
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)