@swmansion/argent 0.20.1-next.10 → 0.20.1-next.11
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/tool-server.cjs +8 -0
- package/package.json +1 -1
package/dist/tool-server.cjs
CHANGED
|
@@ -150723,6 +150723,14 @@ async function resolveOutputDir(params, options) {
|
|
|
150723
150723
|
if (params.outputDir && (probe3 === void 0 || probe3.presentOnHost)) {
|
|
150724
150724
|
return params.outputDir;
|
|
150725
150725
|
}
|
|
150726
|
+
if (params.outputDir) {
|
|
150727
|
+
try {
|
|
150728
|
+
await import_promises13.default.mkdir(params.outputDir);
|
|
150729
|
+
return params.outputDir;
|
|
150730
|
+
} catch (err) {
|
|
150731
|
+
if (err.code === "EEXIST") return params.outputDir;
|
|
150732
|
+
}
|
|
150733
|
+
}
|
|
150726
150734
|
const dir = import_path10.default.join(
|
|
150727
150735
|
import_node_os13.default.tmpdir(),
|
|
150728
150736
|
"argent-screenshot-diff",
|
package/package.json
CHANGED