Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 35dbed2

Browse filesBrowse files
dnalborczyktargos
authored andcommitted
doc: call cwd function
PR-URL: #40573 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com>
1 parent 4870a23 commit 35dbed2
Copy full SHA for 35dbed2

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/esm.md‎

Copy file name to clipboardExpand all lines: doc/api/esm.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ import { fileURLToPath, pathToFileURL } from 'url';
898898
899899
import CoffeeScript from 'coffeescript';
900900
901-
const baseURL = pathToFileURL(`${cwd}/`).href;
901+
const baseURL = pathToFileURL(`${cwd()}/`).href;
902902
903903
// CoffeeScript files end in .coffee, .litcoffee or .coffee.md.
904904
const extensionsRegex = /\.coffee$|\.litcoffee$|\.coffee\.md$/;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.