mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-08-04 06:45:45 +02:00
misc: remove --force
when calling qmlformat
It doesn't work with JS arrow function syntax. Gitlab: #1059 Change-Id: I7da9c8ee7a2cb470aeb76cf4d1d0937e621eb221
This commit is contained in:
parent
3f56754f1c
commit
9e9b368deb
1 changed files with 1 additions and 2 deletions
|
@ -69,8 +69,7 @@ def qml_format_files(files):
|
|||
for filename in files:
|
||||
if os.path.isfile(filename):
|
||||
print(f"Formatting: {filename}", end='\r')
|
||||
extra_args = ['--force']
|
||||
subprocess.call([QMLFORMAT, '--inplace', filename] + extra_args)
|
||||
subprocess.call([QMLFORMAT, '--inplace', filename])
|
||||
# This may generate a backup file (ending with ~), so delete it.
|
||||
backup_file = filename + "~"
|
||||
if os.path.isfile(backup_file):
|
||||
|
|
Loading…
Add table
Reference in a new issue