Skip to content

Commit c9fd311

Browse files
Remove unecessary logic branch
The function shouldn't be wrapped in a promise, the return value should.
1 parent 98aa68c commit c9fd311

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

lib/DrupalLibrariesPlugin.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ class DrupalLibrariesPlugin {
3535
return [new DrupalLibraryFile(targetPath, result, metadata)]
3636
}
3737
}
38-
else {
39-
opts.path = Promise.resolve(opts.path)
40-
}
4138

4239
this.opts = opts
4340
this.result = null

0 commit comments

Comments
 (0)