js_dependency 0.3.3 → 0.3.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/js_dependency/cli.rb +1 -1
- data/lib/js_dependency/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 213b92143fa1ae05bd0c3ab2a94351fc6b1d990d82ff560dc4ac1f4d737a8201
|
4
|
+
data.tar.gz: 8ce2ca6a8858adef25577702be473c50fcb56e7c5f5987cd934480bff5d2cfab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ede1bf2786104d0e6246d8becdc27ea0b57332fd93ce0db9ff258f63f6550cdf2ee44759852bb751fcf83e08dce759e6c1d4ed3c2836629826ace1eb95bbfc89
|
7
|
+
data.tar.gz: ccc8d0a032339c59cd745f34e5ec9d3461d96f1fad35981034f6746ab31f05e7936320347fca67c1dde28f99913d2c4b5700a98c047b35cfa45ef8bb0c8bc5bb
|
data/Gemfile.lock
CHANGED
data/lib/js_dependency/cli.rb
CHANGED
@@ -28,7 +28,7 @@ module JsDependency
|
|
28
28
|
output_path = options[:output_path] || args["output_path"] || nil
|
29
29
|
alias_paths = args["alias_paths"] || nil
|
30
30
|
name_level = options[:name_level] || args["name_level"] || 1
|
31
|
-
excludes = if options[:excludes]
|
31
|
+
excludes = if options[:excludes]&.length&.positive?
|
32
32
|
options[:excludes]
|
33
33
|
elsif args["excludes"]
|
34
34
|
args["excludes"]
|