Skip to content

Commit 192f9d0

Browse files
committed
chore(code): Fix lint issues
1 parent c374b65 commit 192f9d0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

core/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ const patternlab_module = function(config) {
372372
copier()
373373
.copyAndWatch(patternlab.config.paths, patternlab, options)
374374
.then(() => {
375-
this.events.once(events.PATTERNLAB_PATTERN_CHANGE, f => {
375+
this.events.once(events.PATTERNLAB_PATTERN_CHANGE, () => {
376376
if (!patternlab.isBusy) {
377377
return this.build(options);
378378
}

core/lib/copier.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ const copier = () => {
9191
if (options.watch) {
9292
return watchPatternLabFiles(patternlab, assetDirectories, basePath);
9393
}
94+
return Promise.resolve();
9495
});
9596
};
9697

0 commit comments

Comments
 (0)