NoDivide / astrum

A lightweight pattern library designed to be included with any web project.
http://astrum.nodividestudio.com
1.54k stars 98 forks source link

Load error references wrong file #176

Open fienen opened 5 years ago

fienen commented 5 years ago

Tell us about the issue you are experiencing

Started having problems with the system loading files. Was getting confused by errors referring to "html.md," even though the system generates a file that's "markup.html." As it turns out the, file name is just hardcoded into the error that gets thrown and needs updated. My guess is, at some point, the name of the file in use changed.

Relevant line: https://github.com/NoDivide/astrum/blob/7779d2c785199234704ef07444154b840cff6006/_template/app/js/main.js#L638

What behaviour would you expect?

Should say "markup.html" instead.

How can this issue be replicated?

When a component fails to load its markup file.

Screenshots / Screencast

annotation 2019-02-12 195215

Your environment

Platform: WPEngine OS Version: Some flavor of Linux, not sure Node Version: 8.12 NPM Version: 6.4.1 Astrum Version: 1.9.5