Skip to content

Commit 0d16a8a

Browse files
committed
feat: update gulpfile linter
1 parent 468295c commit 0d16a8a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

gulpfile.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,10 @@ task('bundle-esm-deps-for-cjs', async () => {
187187

188188
// Module CSS files
189189
['pagination.css', 'a11y.css', 'autoplay.css'].forEach((file) => {
190-
const src = path.join(swiperNodeModules, 'modules', file);
191-
const dest = path.join(modulesDir, file);
192-
if (fs.existsSync(src)) {
193-
fs.copyFileSync(src, dest);
190+
const srcPath = path.join(swiperNodeModules, 'modules', file);
191+
const destPath = path.join(modulesDir, file);
192+
if (fs.existsSync(srcPath)) {
193+
fs.copyFileSync(srcPath, destPath);
194194
}
195195
});
196196

0 commit comments

Comments
 (0)