From ce99e88ee790df0e4146e485bfe1eff3df969f80 Mon Sep 17 00:00:00 2001 From: ekatek Date: Sat, 23 Aug 2014 13:48:46 -0700 Subject: [PATCH] some new lines in error output --- tools/package-version-parser.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/package-version-parser.js b/tools/package-version-parser.js index a45d873c07..8e7827e81a 100644 --- a/tools/package-version-parser.js +++ b/tools/package-version-parser.js @@ -82,7 +82,7 @@ PV.parseConstraint = function (constraintString, options) { if (splitted.length === 2 && !versionString) { throwVersionParserError( - "Version constraint for package '" + name + + "Version constraint for package '" + name + "' cannot be empty; leave off the @ if you don't want to constrain " + "the version."); } @@ -103,9 +103,9 @@ PV.validatePackageName = function (packageName, options) { if (options.detailedColonExplanation) { throwVersionParserError( "Bad character in package name: " + JSON.stringify(badChar[0]) + - ". Package names can only contain lowercase ASCII alphanumerics, " + - "dash, or dot. If you plan to publish a package, it must be " + - "prefixed with your Meteor developer username and a colon."); + ".\n\nPackage names can only contain lowercase ASCII alphanumerics, " + + "dash, or dot.\nIf you plan to publish a package, it must be " + + "prefixed with your\nMeteor Developer Account username and a colon."); } throwVersionParserError( "Package names can only contain lowercase ASCII alphanumerics, dash, " +