Skip to content

Commit

Permalink
Fix build, closes #548
Browse files Browse the repository at this point in the history
  • Loading branch information
sheerun committed Sep 13, 2020
1 parent 5308fab commit 4314841
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ require 'tsort'

Dir.chdir(File.dirname(__dir__))

Dir.mkdir('tmp') unless File.exists?('tmp')

BASE_URL = 'https://raw.githubusercontent.com/github/linguist/master'

def camelize(str)
Expand Down Expand Up @@ -768,6 +766,8 @@ if __FILE__ == $0
FileUtils.rm_rf("tmp")
end

Dir.mkdir('tmp') unless File.exists?('tmp')

packages, heuristics = load_data()
download(packages)
extract(packages)
Expand Down

0 comments on commit 4314841

Please sign in to comment.