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}) => {