Comparing version 0.3.7 to 0.3.8
'use strict'; | ||
require('colors'); | ||
var Q = require('q'); | ||
@@ -38,6 +40,9 @@ var read = require('read'); | ||
if(diff.type === 'write') { | ||
msg = 'Write <' + loc(diff.isOriginRemote) + '>/' + diff.query; | ||
msg += ' to <' + loc(!diff.isOriginRemote) + '>/' + diff.query; | ||
if(diff.isOriginRemote) { | ||
msg = ('<< '.green) + ('↙ '.blue) + diff.query; | ||
} else { | ||
msg = ('>> '.green) + ('↗ '.blue) + diff.query; | ||
} | ||
} else { | ||
msg = 'Delete <' + loc(!diff.isOriginRemote) + '>/' + diff.query; | ||
msg = ('✗'.red) + ' <' + loc(!diff.isOriginRemote) + '>/' + diff.query; | ||
} | ||
@@ -44,0 +49,0 @@ if(simulate === true) { |
@@ -9,3 +9,3 @@ { | ||
"description": "Command line utility to download and upload 28.io queries.", | ||
"version": "0.3.7", | ||
"version": "0.3.8", | ||
"keywords": [ | ||
@@ -49,3 +49,3 @@ "jsoniq", | ||
"grunt-shell": "~0.7.0", | ||
"bats": "git+https://github.com/sstephenson/bats.git#master", | ||
"bats": "git+https://github.com/sstephenson/bats.git#03c6ab4c0f6c389f57d9db0ebdebbd53435dcb0d", | ||
"lodash": "~2.4.1" | ||
@@ -52,0 +52,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
965
159437
29