mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
doc: call cwd function
PR-URL: https://github.com/nodejs/node/pull/40573 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com>
This commit is contained in:
1 parent
d732ff4614
commit
d72fb7df4a
1 file changed
+1
-1
+1
-1
@@ -893,7 +893,7 @@ import { fileURLToPath, pathToFileURL } from 'url';
|
||||
|
||||
import CoffeeScript from 'coffeescript';
|
||||
|
||||
const baseURL = pathToFileURL(`${cwd}/`).href;
|
||||
const baseURL = pathToFileURL(`${cwd()}/`).href;
|
||||
|
||||
// CoffeeScript files end in .coffee, .litcoffee or .coffee.md.
|
||||
const extensionsRegex = /\.coffee$|\.litcoffee$|\.coffee\.md$/;
|
||||
|
||||
Reference in new issue
Block a user