Skip to content

Commit 1b1f440

Browse files
committed
small fix
1 parent 13f1f01 commit 1b1f440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ module.exports = function setupHook({
4848
let scopedName;
4949
if (generateScopedName) {
5050
scopedName = typeof generateScopedName !== 'function'
51-
? genericNames(generateScopedName || '[name]__[local]___[hash:base64:5]', {context})
51+
? genericNames(generateScopedName, {context}) // for example '[name]__[local]___[hash:base64:5]'
5252
: generateScopedName;
5353
} else {
5454
// small fallback

0 commit comments

Comments
 (0)