From eed7d94a2bc07716881d0f43a40ed9e87c3a3dd5 Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Tue, 5 May 2020 14:18:41 +0200 Subject: [PATCH] chore: improve readability for path strings (#5805) This addresses the feedback from https://github.com/puppeteer/puppeteer/pull/5762#discussion_r416554314. --- utils/protocol-types-generator/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/protocol-types-generator/index.js b/utils/protocol-types-generator/index.js index c5e2c960f92f5..4c7c6b0fe5306 100644 --- a/utils/protocol-types-generator/index.js +++ b/utils/protocol-types-generator/index.js @@ -77,7 +77,7 @@ export default Protocol; return {output, version}; }); -const protocolOutputPath = path.join(__dirname, '..', '..', 'src', 'protocol.d.ts'); +const protocolOutputPath = path.join(__dirname, '../../src/protocol.d.ts'); const relativeProtocolOutputPath = path.relative(process.cwd(), protocolOutputPath); const writeOutputToDisk = ({output, version}) => {