Content-Length: 665 | pFad | http://redirect.github.com/nodejs/node/commit/c3913f9c871bb9c7db85eeaf74d3fc589bd0c36d.diff
D8 diff --git a/tools/dep_updaters/update-c-ares.mjs b/tools/dep_updaters/update-c-ares.mjs index c5057e666de70d..bd99dfd34129e2 100644 --- a/tools/dep_updaters/update-c-ares.mjs +++ b/tools/dep_updaters/update-c-ares.mjs @@ -1,8 +1,9 @@ // Synchronize the sources for our c-ares gyp file from c-ares' Makefiles. import { readFileSync, writeFileSync } from 'node:fs'; import { join } from 'node:path'; +import { fileURLToPath } from 'node:url'; -const srcroot = join(import.meta.dirname, '..', '..'); +const srcroot = fileURLToPath(new URL('../../', import.meta.url)); const options = { encoding: 'utf8' }; // Extract list of sources from the gyp file.Fetched URL: http://redirect.github.com/nodejs/node/commit/c3913f9c871bb9c7db85eeaf74d3fc589bd0c36d.diff
Alternative Proxies: