Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Dahlgren committed Jul 21, 2023
1 parent b357455 commit 5689fca
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion lib/mods/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Mods.prototype.resolveModData = function (modPath, cb) {
var self = this
async.parallel({
folderSize: function (cb) {
var basePath = path.resolve(config.path, modPath)
var basePath = path.resolve(self.config.path, modPath)
folderSize(basePath, cb)
},
modFile: function (cb) {
Expand Down
2 changes: 0 additions & 2 deletions lib/reforger/mods.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ var async = require('async')
var events = require('events')
var filesize = require('filesize')
var fs = require('fs.extra')
var filesize = require('filesize')
var glob = require('glob')
var path = require('path')

Expand Down Expand Up @@ -55,7 +54,6 @@ Mods.prototype.updateMods = function () {
}

Mods.prototype.resolveModData = function (serverDataPath, cb) {
var self = this
var serverDataFile = path.join(this.workshopPath(), serverDataPath)
var modPath = path.dirname(serverDataFile)
async.parallel({
Expand Down
1 change: 0 additions & 1 deletion lib/reforger/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ Server.prototype.start = function () {

Server.prototype.stop = function (cb) {
var handled = false
var self = this

var finalHandler = function () {
if (!handled) {
Expand Down

0 comments on commit 5689fca

Please sign in to comment.