Skip to content

Commit f456382

Browse files
committed
fix(isValidUserConfig): MESSAGES.defaultThemeName
1 parent c9aac51 commit f456382

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ module.exports = class Breakpoints {
104104
return false;
105105
}
106106
if (!this.#config.drupal?.themeName) {
107-
console.warn(MESSAGES.defaultThemeName(DEFAULT_CONFIG.drupal.themeName));
107+
console.warn(MESSAGES.defaultThemeName());
108108
}
109109
return true;
110110
}

lib/messages.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
module.exports = {
22
breakpoints: (path) =>
33
`Couldn't read Drupal's breakpoints file from ${path}!`,
4-
defaultThemeName: (name) =>
5-
`Missing "userConfig.drupal.themeName". Will use "${name}" for now.`,
4+
defaultThemeName: () => `Missing "userConfig.drupal.themeName" value.`,
65
noOutput: (config) =>
76
`No output with this configuration:\n${JSON.stringify(config)}`,
87
readFile: (path) => `Couldn't read from ${path} file!`,

0 commit comments

Comments
 (0)