diff options
author | Samy Pesse <samypesse@gmail.com> | 2016-10-10 17:43:27 +0200 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2016-10-10 17:43:27 +0200 |
commit | caeadd431b44411660cd11395f909e2a49824027 (patch) | |
tree | 6768abdcdf6a4edebb13eee9d0eed5d7b37bd3dd /scripts/bump.js | |
parent | d5796ccf042386a93069e2044ce281434697d89a (diff) | |
download | gitbook-caeadd431b44411660cd11395f909e2a49824027.zip gitbook-caeadd431b44411660cd11395f909e2a49824027.tar.gz gitbook-caeadd431b44411660cd11395f909e2a49824027.tar.bz2 |
Adapt plugin livereload for new APIs
Diffstat (limited to 'scripts/bump.js')
-rwxr-xr-x | scripts/bump.js | 4 |
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; |