We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 335a273 commit 099af4bCopy full SHA for 099af4b
bazel/api-golden/index_npm_packages.ts
@@ -70,6 +70,7 @@ async function main(
70
// Keep track of outdated goldens.
71
if (actual !== expected) {
72
if (approveGolden) {
73
+ fs.mkdirSync(path.dirname(goldenFilePath), {recursive: true});
74
fs.writeFileSync(goldenFilePath, actual, 'utf8');
75
} else {
76
outdatedGoldens.push(goldenName);
0 commit comments