Navigation Menu

Skip to content

Commit

Permalink
git-ignore-generated-files wiki md fix #5705
Browse files Browse the repository at this point in the history
  • Loading branch information
kroitor committed Aug 17, 2019
1 parent 8248360 commit 5f1d32a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build/git-ignore-generated-files.js
Expand Up @@ -42,6 +42,9 @@ let files = [

'python/test/test.py',

'wiki/Exchange-Markets-By-Country.md',
'wiki/Exchange-Markets.md',

'doc/FAQ.rst',
'doc/README.rst',
'doc/exchanges-by-country.rst',
Expand All @@ -66,7 +69,7 @@ try {
files = files.filter (f => !untrackedFiles.has (f))

} catch (e) {

// There is a legit case when we're not in a git repo (happens on AppVeyor)
if (!e.message.toLowerCase ().includes ('not a git repository')) {
log.bright.red (e)
Expand All @@ -79,7 +82,7 @@ if (process.argv.includes ('--unignore')) {
gitUpdateIndex ('no-assume-unchanged', files)

} else {

log.bright.cyan (`Disabling the git changes tracking for ${files.length} generated files...`)
gitUpdateIndex ('assume-unchanged', files)
}
Expand Down

0 comments on commit 5f1d32a

Please sign in to comment.