docs(cli): remove trailing slash from import.meta.dirname expected output (#24295)

This commit is contained in:
Asher Gomez 2024-06-21 15:52:46 +10:00 committed by GitHub
parent 9168078669
commit c012c202af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,10 +50,10 @@ declare interface ImportMeta {
* * Example: * * Example:
* ``` * ```
* // Unix * // Unix
* console.log(import.meta.dirname); // /home/alice/ * console.log(import.meta.dirname); // /home/alice
* *
* // Windows * // Windows
* console.log(import.meta.dirname); // C:\alice\ * console.log(import.meta.dirname); // C:\alice
* ``` * ```
*/ */
dirname?: string; dirname?: string;