From 3330d4cb350470ab9ce34919e0f914f7259c812c Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Thu, 16 Aug 2018 10:24:21 -0700 Subject: [PATCH] chore: fix linting (#14135) --- script/bump-version.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/bump-version.py b/script/bump-version.py index 931196e6108d..2e7ad57795bf 100755 --- a/script/bump-version.py +++ b/script/bump-version.py @@ -107,7 +107,8 @@ def increase_version(versions, index): def update_electron_gyp(version, suffix): - pattern = re.compile(" *'version%' *: *'[0-9.]+(-beta[0-9.]*)?(-dev)?(-nightly[0-9]*)?'") + pattern = re.compile(" *'version%' *: *'[0-9.]+(-beta[0-9.]*)?(-dev)?" + + "(-nightly[0-9]*)?'") with open('electron.gyp', 'r') as f: lines = f.readlines()