jekyll-webpack 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 33dede3fdb6014a97d8f77a9db5dd151ca0c9ba9a11c7a3fc9a5bcb3c24b150d
4
- data.tar.gz: 6c523b04a532a1edb0565e2ec31b1e70f37c6fbf4349b3e19d13c22c77e873ee
3
+ metadata.gz: 607c1063222b8746e6e1a90de9a5272e41895beba7672c72e8b9742823593412
4
+ data.tar.gz: e141cb8fcb480ef152b731554ba4fef8cee98bf8b4263f4f7d0a4ccc06630cfc
5
5
  SHA512:
6
- metadata.gz: d291a385e04da5a17b60b783e8c4e617d38cbcb36a9b4985600cc32cb54fface89764e06623e0b5d2a66c6fec6df7a7719d8f499e3817fc0b937f8efbcad667f
7
- data.tar.gz: 0f587a0f0b3ca7439b978a20f57f395620435739f7b594374416d5c6abe926a03837a6efdb8fe1b541cbf9363e150184ba748a86ca7479ece1e2fcd9cac83d04
6
+ metadata.gz: cf664c9e5c38e781ab700c92aa725ed93b74dd62d7fa5fcf94cfb2211e9b8595bfe19d4dd1ff4252d13bd1310dd0dd8711db9cf006c5ba6939944aae89c12fd9
7
+ data.tar.gz: 04fc1d4d20fa4ed5290a596658e56a70e2873cbd6f8f0abf2740ff964960b547c2803aeea277139cbfd945843b312442e20fa47f20df8460293b055255802fd7
@@ -36,8 +36,10 @@ module Jekyll
36
36
 
37
37
  if cleanup_files
38
38
  array_or_scalar(cleanup_files) do |dest_for_clean|
39
- if Dir.exists?(File.expand_path(dest_for_clean, site.dest))
40
- FileUtils.rm_rf(File.expand_path(dest_for_clean, site.dest))
39
+ path = File.expand_path(dest_for_clean, site.dest)
40
+
41
+ if File.exists?(path) || Dir.exists?(path)
42
+ FileUtils.rm_rf(path)
41
43
  end
42
44
  end
43
45
  end
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Webpack
3
- VERSION = "0.2.4"
3
+ VERSION = "0.2.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-webpack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Martin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-07-26 00:00:00.000000000 Z
11
+ date: 2021-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll