@osfactory/har 0.32.1 → 0.32.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6718,11 +6718,7 @@ function buildOtelHooksConfig(options) {
|
|
|
6718
6718
|
function writeOtelHooksConfig(config2, hooksHome = getOtelHooksHome()) {
|
|
6719
6719
|
fs42.mkdirSync(hooksHome, { recursive: true });
|
|
6720
6720
|
const configPath = getOtelHooksConfigPath(hooksHome);
|
|
6721
|
-
|
|
6722
|
-
_comment: "Managed by har telemetry \u2014 do not edit by hand; use: har telemetry on|off",
|
|
6723
|
-
...config2
|
|
6724
|
-
};
|
|
6725
|
-
fs42.writeFileSync(configPath, `${JSON.stringify(payload, null, 2)}
|
|
6721
|
+
fs42.writeFileSync(configPath, `${JSON.stringify(config2, null, 2)}
|
|
6726
6722
|
`);
|
|
6727
6723
|
return configPath;
|
|
6728
6724
|
}
|