summaryrefslogtreecommitdiffstats
path: root/scripts/bump.js
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/bump.js')
-rwxr-xr-xscripts/bump.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/bump.js b/scripts/bump.js
index 4f21a3f..53ae7c2 100755
--- a/scripts/bump.js
+++ b/scripts/bump.js
@@ -10,6 +10,10 @@ const PACKAGES_DIR = path.resolve(__dirname, '../packages');
const packages = fs.readdirSync(PACKAGES_DIR);
function updateDependencies(dependencies) {
+ if (!dependencies) {
+ return;
+ }
+
Object.keys(dependencies).map((key) => {
if (!packages.includes(key)) {
return;