Skip to content

Commit

Permalink
fix: undo changes to patch (frappe#26983)
Browse files Browse the repository at this point in the history
* fix: undo changes to patch

* ci: ignore empty body / head
  • Loading branch information
ankush authored Aug 17, 2021
1 parent 93583e6 commit d9bc699
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/helper/documentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ def docs_link_exists(body):

if response.ok:
payload = response.json()
title = payload.get("title", "").lower().strip()
head_sha = payload.get("head", {}).get("sha")
body = payload.get("body", "").lower()
title = (payload.get("title") or "").lower().strip()
head_sha = (payload.get("head") or {}).get("sha")
body = (payload.get("body") or "").lower()

if (title.startswith("feat")
and head_sha
Expand Down
4 changes: 0 additions & 4 deletions erpnext/patches/v13_0/shopify_deprecation_warning.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@

def execute():

frappe.reload_doc("erpnext_integrations", "doctype", "shopify_settings")
if not frappe.db.get_single_value("Shopify Settings", "enable_shopify"):
return

click.secho(
"Shopify Integration is moved to a separate app and will be removed from ERPNext in version-14.\n"
"Please install the app to continue using the integration: https://github.com/frappe/ecommerce_integrations",
Expand Down

0 comments on commit d9bc699

Please sign in to comment.