Skip to content
Permalink
Browse files

Error for no layers

  • Loading branch information...
Koen Bok
Koen Bok committed Dec 17, 2015
1 parent a7df8f4 commit aa6f4fbe8ffb95825cddf3e4f5746521ad070470
Showing with 3 additions and 0 deletions.
  1. +3 −0 framer/Importer.coffee
@@ -46,6 +46,9 @@ class exports.Importer

layersByName = {}
layerInfo = @_loadlayerInfo()

if layerInfo.length is 0
throw new Error("Importer: no layers. Do you have at least one layer group?")

# Pass one. Create all layers build the hierarchy
layerInfo.map (layerItemInfo) =>

0 comments on commit aa6f4fb

Please sign in to comment.
You can’t perform that action at this time.