Don't fail on placeholder mod directories
This commit is contained in:
@@ -24,7 +24,11 @@ describe 'data files for', ->
|
||||
|
||||
mod = new Mod slug:modSlug
|
||||
modParser = new ModParser model:mod, showAllErrors:true
|
||||
try
|
||||
modParser.parse fs.readFileSync "./data/#{modSlug}/mod.cg", 'utf8'
|
||||
catch
|
||||
# Just a placeholder directory for a suggested mod.
|
||||
return
|
||||
|
||||
it 'loads mod.cg without errors', ->
|
||||
modParser.errors.should.eql []
|
||||
|
||||
Reference in New Issue
Block a user