electron-cli 0.3.0-alpha.11 → 0.3.0-alpha.13

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.
@@ -98,7 +98,7 @@ fn build_report(args: &PublishArgs) -> Result<PublishReport> {
98
98
  name: args.name.clone(),
99
99
  platform: args.platform.clone(),
100
100
  arch: args.arch.clone(),
101
- target: args.target,
101
+ target: Some(args.target),
102
102
  skip_package: false,
103
103
  force: args.force,
104
104
  dry_run: false,
@@ -235,7 +235,7 @@ fn execute_publish(report: &mut PublishReport, args: &PublishArgs) -> Result<()>
235
235
  name: args.name.clone(),
236
236
  platform: args.platform.clone(),
237
237
  arch: args.arch.clone(),
238
- target: args.target,
238
+ target: Some(args.target),
239
239
  skip_package: false,
240
240
  force: args.force,
241
241
  dry_run: false,
package/src/project.rs CHANGED
@@ -9,7 +9,7 @@ use camino::Utf8PathBuf;
9
9
  use serde::Serialize;
10
10
  use serde_json::Value;
11
11
 
12
- #[derive(Debug, Serialize)]
12
+ #[derive(Clone, Debug, Serialize)]
13
13
  pub struct ProjectSnapshot {
14
14
  pub root: Utf8PathBuf,
15
15
  pub package_json: Option<Utf8PathBuf>,