Skip to content

Commit

Permalink
delete ~unused logging function
Browse files Browse the repository at this point in the history
  • Loading branch information
gschmidt committed Dec 30, 2013
1 parent 95e3959 commit 5230e79
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
4 changes: 0 additions & 4 deletions tools/logging.js

This file was deleted.

1 change: 0 additions & 1 deletion tools/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ var _ = require('underscore');
var Fiber = require('fibers');
var files = require('./files.js');
var path = require('path');
var logging = require('./logging.js');
var warehouse = require('./warehouse.js');
var library = require('./library.js');
var release = require('./release.js');
Expand Down
7 changes: 4 additions & 3 deletions tools/warehouse.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ var files = require('./files.js');
var updater = require('./updater.js');
var httpHelpers = require('./http-helpers.js');
var fiberHelpers = require('./fiber-helpers.js');
var logging = require('./logging.js');

var WAREHOUSE_URLBASE = 'https://warehouse.meteor.com';

Expand Down Expand Up @@ -123,7 +122,8 @@ _.extend(warehouse, {
if (!releaseName) {
if (background)
return false; // it's in the background, who cares.
logging.die("No stable release found.");
process.stderr.write("No stable release found.\n");
process.exit(1);
}

var latestReleaseManifest =
Expand Down Expand Up @@ -241,7 +241,8 @@ _.extend(warehouse, {
throw e;
// We actually got some response, so we're probably online and we
// just can't find the release.
logging.die(releaseVersion + ": unknown release.");
process.stderr.write(releaseVersion + ": unknown release.\n");
process.exit(1);
}
}

Expand Down

0 comments on commit 5230e79

Please sign in to comment.