minor text change

This commit is contained in:
Avital Oliver
2013-01-25 22:03:03 -08:00
committed by David Glasser
parent 1c4970f36a
commit b35d7ff03a
2 changed files with 3 additions and 1 deletions

View File

@@ -97,7 +97,7 @@ var Package = function () {
self.npmFacade = {
depends: function (npmDependencies) {
if (self.npmDependencies)
throw new Error("Can only call `Npm.require` once in package " + self.name + ".");
throw new Error("Can only call `Npm.depends` once in package " + self.name + ".");
// don't allow npm fuzzy versions so that there is complete
// consistency when deploying a meteor app

View File

@@ -2,6 +2,8 @@ Package.describe({
summary: "Send email messages"
});
// Pinned at older version. 0.1.16+ uses mimelib, not mimelib-noiconv
// which is much bigger. We need a better solution.
Npm.depends({mailcomposer: "0.1.15", simplesmtp: "0.1.25", "stream-buffers": "0.2.3"});
Package.on_use(function (api) {