You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -216,7 +215,7 @@ async function CheckFromExternalChecks() {
216
215
});
217
216
}catch(err){
218
217
if(err.message&&err.message.includes('Cannot use import statement outside a module')){
219
-
warn(`External dangerfile uses ES6 imports. Please convert to CommonJS syntax (require/module.exports) or use .mjs extension with proper module configuration.\nFile: ${customPath}`);
218
+
warn(`External dangerfile uses ES6 imports. Please convert to CommonJS syntax (require/module.exports) or use .mjs extension with proper module configuration.\nFile: ${extraDangerFilePath}`);
220
219
}else{
221
220
warn(`Could not load custom Dangerfile: ${extraDangerFilePath}\n${err}`);
0 commit comments