-
Notifications
You must be signed in to change notification settings - Fork 1
Align workspace dev commands in root dev.yml #69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -292,7 +292,7 @@ class RCTShopifyCheckoutKit: RCTEventEmitter, CheckoutDelegate { | |
| return NSNumber(value: available) | ||
| } | ||
|
|
||
| @objc func initiateGeolocationRequest(_ allow: Bool) { | ||
| @objc func initiateGeolocationRequest(_: Bool) { | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Root dev check surfaced an existing SwiftFormat issue. The parameter is intentionally unused, so _ is the correct shape here. |
||
| // No-op on iOS — geolocation permission is handled natively | ||
| } | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -92,6 +92,7 @@ def copy_license(dir, license_block, normalized_license, check_only: false) | |
| supported_exts = %w[.swift .h .mm .java .js .ts .tsx] | ||
|
|
||
| Find.find(dir) do |path| | ||
| next if path.include?('/build/generated/') | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This keeps the RN license check focused on source-controlled files. Generated Android build output can exist locally after builds/codegen and does not reliably include our license header, which made dev check depend on local build state |
||
| next unless File.file?(path) && supported_exts.any? { |ext| path.end_with?(ext) } | ||
|
|
||
| changed = process_file(path, license_block, normalized_license, write: !check_only) | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if you've had success with this locally but I think telling it to use shadoenv and where to get dev from helped with certain ai sandboxing