chore: fix linting (#14135)

This commit is contained in:
Samuel Attard 2018-08-16 10:24:21 -07:00 committed by GitHub
parent 38ae93f0a4
commit 3330d4cb35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()