chore: improve readability for path strings (#5805)
This addresses the feedback from https://github.com/puppeteer/puppeteer/pull/5762#discussion_r416554314.
This commit is contained in:
parent
d8d1f6ff7c
commit
eed7d94a2b
@ -77,7 +77,7 @@ export default Protocol;
|
|||||||
return {output, version};
|
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 relativeProtocolOutputPath = path.relative(process.cwd(), protocolOutputPath);
|
||||||
|
|
||||||
const writeOutputToDisk = ({output, version}) => {
|
const writeOutputToDisk = ({output, version}) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user