@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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swmansion/argent",
3
- "version": "0.20.1-next.10",
3
+ "version": "0.20.1-next.11",
4
4
  "mcpName": "io.github.software-mansion/argent",
5
5
  "description": "MCP server for iOS Simulator and Android Emulator control",
6
6
  "license": "Apache-2.0",