magic-test/magic-test-laravel

When app.debug is false, MagicTest crashes

Closed this issue · 3 comments

$html[] = config('app.debug') ? $script : self::minify($scripts);

When setting APP_DEBUG=false in my .env, MagicTest crashes on the above line of code. Looks like it could be fixed by replacing self::minify($scripts) with self::minify($script) (removing the last 's' of the variable name).

Can someone confirm that this would be the needed fix? Or, am I missing something :)

This was fixed by #31.

@mateusjatenee Do you think this is worth making a release/ tag for?

@ThomasLaveto Hey Thomas -- apologies for the delay on this. It seems I'm not getting notifications for this repo... I'll tag a release

No problem, thank you!