Make sure the app is not cleaned up if relative path is provided
MODIFY
lib/basedriver/helpers.js
lib/basedriver/helpers.js
@@ -173,9 +173,9 @@ async function configureApp (app, supportedAppExtensions) {
logger.info(`Unzipped local app to '${newApp}'`);
} else if (!path.isAbsolute(newApp)) {
newApp = path.resolve(process.cwd(), newApp);
- logger.warn(`The current application path '${app}' is relative, ` +
- `which might cause further issues. The path has been rewritten to '${newApp}' ` +
- `in order to avoid them`);
+ logger.warn(`The current application path '${app}' is not absolute ` +
+ `and has been rewritten to '${newApp}'. Consider using absolute paths rather than relative`);
+ app = newApp;
}
verifyAppExtension(newApp, supportedAppExtensions);

Make sure the app is not cleaned up if relative path is provided (#289)