Minor optimisation in "ts fetch"
This commit is contained in:
parent
5a1b0fe2b2
commit
81940fa4a8
|
@ -261,9 +261,7 @@ proc {ts fetch} {file {checked 0}} {
|
|||
if {!$checked} {
|
||||
if {[file extension $file] ne ".ts"} { return 0 }
|
||||
if {![file exists "[file rootname $file].hmt"]} { return 0 }
|
||||
}
|
||||
|
||||
if {[file extension $file] ne ".ts"} {
|
||||
} elseif {[file extension $file] ne ".ts"} {
|
||||
set file "[file rootname $file].ts"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue