Skip to content

Commit af3431d

Browse files
committed
spelling: segment
1 parent 632bd3d commit af3431d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ContextModuleFactory.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ module.exports = class ContextModuleFactory extends Tapable {
174174
if (!files || files.length === 0) return callback(null, []);
175175
asyncLib.map(
176176
files.filter(p => p.indexOf(".") !== 0),
177-
(seqment, callback) => {
178-
const subResource = path.join(directory, seqment);
177+
(segment, callback) => {
178+
const subResource = path.join(directory, segment);
179179

180180
if (!exclude || !subResource.match(exclude)) {
181181
fs.stat(subResource, (err, stat) => {

0 commit comments

Comments
 (0)