Skip to content

Commit

Permalink
Fix code comments to satisfy codestyle criteria
Browse files Browse the repository at this point in the history
  • Loading branch information
tormozz48 committed Apr 8, 2015
1 parent 2928501 commit 80807a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/master/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var inherit = require('inherit'),
SymlinkDisk = require('./symlink/ydisk'),
SendChanges = require('./send-changes');

module.exports = inherit([CronRunner, Logger], {
module.exports = inherit(CronRunner, {

_logger: undefined,
_pather: undefined,
Expand Down Expand Up @@ -104,8 +104,8 @@ module.exports = inherit([CronRunner, Logger], {
return vow.resolve({ buildResult: buildResult, snapshotName: name })
.then(this._createSnapshot.bind(this)) // Creates new data snapshot
.then(this._sendTask.execute.bind(this._sendTask)) // Optionally sends it to Yandex Disk
.then(this._symlinkTask.execute.bind(this._symlinkTask)) // Switches all configured symlinks to this snapshot
.then(this._sendChangesTask.execute.bind(this._sendChangesTask)) // Sends snapshot data changes via e-mail
.then(this._symlinkTask.execute.bind(this._symlinkTask)) // Switches all conf symlinks to this snap
.then(this._sendChangesTask.execute.bind(this._sendChangesTask)) // Sends snap data changes by email
.then(function () {
return true;
});
Expand Down

0 comments on commit 80807a8

Please sign in to comment.