mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Improve error when package not found in PACKAGE_DIRS locally
This commit is contained in:
committed by
David Glasser
parent
a919cb3499
commit
dfd837934e
@@ -57,12 +57,7 @@ var warehouse = module.exports = {
|
||||
releaseManifestByVersion: function(release) {
|
||||
if (release === 'none') {
|
||||
if (!files.usesWarehouse()) {
|
||||
// safety belt so that we ensure we're running all packages locally,
|
||||
// and that we don't springboard
|
||||
return {
|
||||
engine: 'none',
|
||||
packages: {}
|
||||
};
|
||||
return null;
|
||||
} else {
|
||||
throw new Error("The 'none' release can only be used from a git checkout of Meteor");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user