mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-05-01 20:42:01 +02:00
Fix warnings
This commit is contained in:
parent
d57674acca
commit
4d97430d44
7 changed files with 15 additions and 18 deletions
scenes
|
@ -100,8 +100,8 @@ func update():
|
|||
# is_visible = true
|
||||
#visible = is_visible
|
||||
|
||||
func get_file_status(file_path, shell, idx):
|
||||
var file_status = shell.run("git status -s '%s'" % file_path)
|
||||
func get_file_status(file_path, the_shell, idx):
|
||||
var file_status = the_shell.run("git status -s '%s'" % file_path)
|
||||
if file_status.length()>0:
|
||||
match file_status[idx]:
|
||||
"D":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue