Skip to content

Commit d3a2af4

Browse files
committed
Forced fetch of git repo while checking
1 parent 588c3cd commit d3a2af4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/menus/update.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export default async (beforeError, forceUpdate) => {
113113
const git = simpleGit();
114114

115115
// Fetches the latest tags and prunes the old tags
116-
await git.fetch(['--prune', '--tags']);
116+
await git.fetch(['--force', '--prune', '--tags']);
117117

118118
// Gets the remote tags list
119119
const remoteTagLines = (await git.listRemote(['--tags'])).split('\n');

0 commit comments

Comments
 (0)