Skip to content

Commit cdda47a

Browse files
committed
chore(preprocess): remove currentFile
1 parent aaadb57 commit cdda47a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/preprocess/preprocess.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@ func Start(version string, spotifyBasePath string, extractedAppsPath string, fla
177177
})
178178

179179
totalFiles := len(filesToPatch)
180-
currentFile := 0
181180

182181
style := pterm.NewStyle(pterm.FgWhite, pterm.BgBlack)
183182
bar, _ := pterm.DefaultProgressbar.WithTotal(totalFiles).WithTitle("Patching files...").WithTitleStyle(style).WithShowCount(true).Start()
@@ -192,8 +191,6 @@ func Start(version string, spotifyBasePath string, extractedAppsPath string, fla
192191
fileName := info.Name()
193192
extension := filepath.Ext(fileName)
194193

195-
currentFile++
196-
197194
switch extension {
198195
case ".js":
199196
utils.ModifyFile(path, func(content string) string {

0 commit comments

Comments
 (0)