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
logger.warning(`Could not find the user-editable header template, currently configured to be at ${path.join(this.config.paths.source.meta,'_00-head.ext')}. Your configured path may be incorrect (check this.config.paths.source.meta in your config file), the file may have been deleted, or it may have been left in the wrong place during a migration or update.`);
232
-
logger.warning(ex);
233
-
234
-
// GTP: it seems increasingly naughty as we refactor to just unilaterally do this here,
235
-
// but whatever. For now.
236
-
process.exit(1);
237
-
}
238
-
}
239
-
240
-
/**
241
-
* Process the user-defined pattern footer and prepare it for rendering
logger.error(`Could not find the user-editable footer template, currently configured to be at ${path.join(this.config.paths.source.meta,'_01-foot.ext')}. Your configured path may be incorrect (check this.config.paths.source.meta in your config file), the file may have been deleted, or it may have been left in the wrong place during a migration or update.`);
256
-
logger.warning(ex);
257
-
258
-
// GTP: it seems increasingly naughty as we refactor to just unilaterally do this here,
259
-
// but whatever. For now.
260
-
process.exit(1);
261
-
}
262
-
}
263
-
264
-
265
212
// info methods
266
213
getVersion(){
267
214
returnthis.package.version;
@@ -367,7 +314,7 @@ module.exports = class PatternLab {
logger.warning(`Could not find the user-editable template ${fileName}, currently configured to be at ${patternlab.config.paths.source.meta}. Your configured path may be incorrect (check paths.source.meta in your config file), the file may have been deleted, or it may have been left in the wrong place during a migration or update.`);
0 commit comments