mirror of
https://github.com/appium/appium.git
synced 2026-02-12 12:59:38 -06:00
fixing lint errors
This commit is contained in:
2
grunt.js
2
grunt.js
@@ -5,7 +5,7 @@ var server = require('./server.js')
|
||||
module.exports = function(grunt) {
|
||||
grunt.initConfig({
|
||||
lint: {
|
||||
all: ['*.js', 'app/*.js', 'app/test/unit/*.js', 'instruments/instruments.js', 'instruments/example.js', 'instruments/build.js']
|
||||
all: ['*.js', 'app/*.js', 'app/test/unit/*.js', 'instruments/*.js']
|
||||
}
|
||||
, jshint: {
|
||||
all: {
|
||||
|
||||
@@ -11,9 +11,9 @@ var main = function() {
|
||||
var client = net.connect({path: args.socket}, function() {
|
||||
var data = {event: "cmd"};
|
||||
if (args.result) {
|
||||
data['result'] = JSON.parse(args.result);
|
||||
data.result = JSON.parse(args.result);
|
||||
}
|
||||
var data = JSON.stringify(data);
|
||||
data = JSON.stringify(data);
|
||||
client.write(data);
|
||||
});
|
||||
client.on('data', function(data) {
|
||||
|
||||
Reference in New Issue
Block a user