Skip to content

Commit 38ad1c0

Browse files
committed
Upgrade: cross-async and eslint-config-mysticatea
1 parent 8a264dd commit 38ad1c0

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

bin/help.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ var help = fs.readFileSync(path.join(__dirname, "help.txt"), "utf8")
2222
// Public Interface
2323
//------------------------------------------------------------------------------
2424

25-
exports.printHelp = function printHelp(output) {
25+
module.exports.printHelp = function printHelp(output) {
2626
output.write(help)
2727
}

bin/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ var spawn = require("../lib")
1515
//------------------------------------------------------------------------------
1616
// Main
1717
//------------------------------------------------------------------------------
18-
/*eslint-disable no-process-exit */
18+
/*eslint no-process-exit: off */
1919

2020
var argv = process.argv
2121
var versionRange = argv[2]

bin/version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ var version = require(path.resolve(__dirname, "../package.json")).version
1616
// Public Interface
1717
//------------------------------------------------------------------------------
1818

19-
exports.printVersion = function printVersion(output) {
19+
module.exports.printVersion = function printVersion(output) {
2020
output.write("v" + version)
2121
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@
2323
"codecov": "nyc report -r lcovonly && codecov"
2424
},
2525
"dependencies": {
26-
"cross-spawn": "^4.0.0",
26+
"cross-spawn": "^5.0.1",
2727
"semver": "^5.2.0"
2828
},
2929
"devDependencies": {
3030
"babel-preset-power-assert": "^1.0.0",
3131
"babel-register": "^6.9.0",
3232
"chokidar-cli": "^1.2.0",
3333
"codecov": "^1.0.1",
34-
"eslint": "^3.6.0",
35-
"eslint-config-mysticatea": "^6.0.0",
34+
"eslint": "^3.10.0",
35+
"eslint-config-mysticatea": "^7.0.1",
3636
"mocha": "^3.0.2",
3737
"npm-run-all": "^3.1.0",
3838
"nyc": "^8.3.0",

test/lib/api.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,5 @@ function runSync(range, options) {
7171
// Public Interface
7272
//------------------------------------------------------------------------------
7373

74-
exports.run = run
75-
exports.runSync = runSync
74+
module.exports.run = run
75+
module.exports.runSync = runSync

test/lib/cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,5 @@ function runToCheck(range, options) {
5656
// Public Interface
5757
//------------------------------------------------------------------------------
5858

59-
exports.run = run
60-
exports.runToCheck = runToCheck
59+
module.exports.run = run
60+
module.exports.runToCheck = runToCheck

test/lib/ng.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @copyright 2016 Toru Nagashima. All rights reserved.
44
* See LICENSE file in root directory for full license.
55
*/
6-
/*eslint-disable no-process-exit */
6+
/*eslint no-process-exit: off */
77
"use strict"
88

99
process.stdout.write("NG")

0 commit comments

Comments
 (0)