Skip to content

Commit

Permalink
style: renamed var to constant
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanneff committed Mar 7, 2017
1 parent e75570a commit 2d6b992
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/npm/nodeDependencies.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
var fs = require('fs')
var path = require('path')
var exec = require('child_process').exec
var installFlagName = '.installed'
var INSTALLFLAGNAME = '.installed'

// entry
module.exports = {
Expand All @@ -17,7 +17,7 @@
// set properties
var q = context.requireCordovaModule('q')
var async = new q.defer() // eslint-disable-line
var installFlagLocation = path.join(context.opts.projectRoot, 'plugins', context.opts.plugin.id, installFlagName)
var installFlagLocation = path.join(context.opts.projectRoot, 'plugins', context.opts.plugin.id, INSTALLFLAGNAME)
var dependencies = require(path.join(context.opts.projectRoot, 'plugins', context.opts.plugin.id, 'package.json')).dependencies

// only run once
Expand Down

0 comments on commit 2d6b992

Please sign in to comment.