Commit 6cd5f73
committed
Make
Sometimes when you are using a locally linked version of the JavaScript
package `data["version"]` will be `nil`. The sanity check relies on this
method to figure out if the version matches. But since the version is
`nil` in this case the `gsub` call will fail, resulting in the whole
sanity check to crash with an `undefined method `gsub' for nil:NilClass`
error.
This commit makes that method more error prove so that the sanity check
can actually you that the version didn't match. Or if you ignored the
mismatch that it can continue with the process.ReflexData#version more error-proof1 parent cb62c08 commit 6cd5f73
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
0 commit comments