mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Protect against null return values from getDevBundleForRelease. (#7841)
Fixes #7838.
This commit is contained in:
@@ -52,7 +52,9 @@ function getDevBundleDir() {
|
||||
return defaultDevBundlePromise;
|
||||
}
|
||||
|
||||
return getDevBundleForRelease(release).then(function (devBundleDir) {
|
||||
return Promise.resolve(
|
||||
getDevBundleForRelease(release)
|
||||
).then(function (devBundleDir) {
|
||||
if (devBundleDir) {
|
||||
links.makeLink(devBundleDir, devBundleLink);
|
||||
return devBundleDir;
|
||||
|
||||
Reference in New Issue
Block a user