mirror of
https://github.com/there4/markdown-resume.git
synced 2024-12-03 08:59:35 -05:00
Output the path to autoload.php
when exiting due to its non-existance
This commit is contained in:
parent
a1174e1732
commit
a35cf4ec07
@ -7,8 +7,9 @@ $templatePath = $baseDir . '/templates';
|
|||||||
$consoleTemplatePath = $baseDir . '/src/Resume/Templates';
|
$consoleTemplatePath = $baseDir . '/src/Resume/Templates';
|
||||||
|
|
||||||
// If the dependencies aren't installed, we have to bail and offer some help.
|
// If the dependencies aren't installed, we have to bail and offer some help.
|
||||||
if (!file_exists($baseDir . '/vendor/autoload.php')) {
|
$autoloadPath = $baseDir . '/vendor/autoload.php';
|
||||||
exit("\nPlease run `composer install` to install dependencies.\n\n");
|
if (!file_exists($autoloadPath)) {
|
||||||
|
exit("\nThe dependency '$autoloadPath' was not found. Please run `composer install` to install dependencies.\n\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Bootstrap our application with the Composer autoloader
|
// Bootstrap our application with the Composer autoloader
|
||||||
|
Loading…
x
Reference in New Issue
Block a user