mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
chore: fix linting (#14135)
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user