]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
fix zone and zones tasks
authorIgor Lima <igor.lima@evolut.io>
Wed, 20 Feb 2013 00:26:20 +0000 (21:26 -0300)
committerIgor Lima <igor.lima@evolut.io>
Wed, 20 Feb 2013 00:26:20 +0000 (21:26 -0300)
tasks/zone.js
tasks/zones.js

index 30386341ea32785da4d5d52c9e682c830be93e09..6ffe7bc2e8163173ca1404ad1e090f01876be6de 100644 (file)
@@ -35,7 +35,7 @@ module.exports = function (grunt) {
     ******************************/
 
     function getCurrentTimezone(cb) {
-        grunt.utils.spawn({
+        grunt.util.spawn({
             cmd: "systemsetup",
             args: ["gettimezone"]
         }, function (err, result, code) {
index 2084e80569a076f23a0378a555c9f5b91888a461..23148b31097ebf2a6544e4e7006dfa421e5ee4e3 100644 (file)
@@ -43,7 +43,7 @@ module.exports = function (grunt) {
     }
 
     function getCurrentTimezone(cb) {
-        grunt.utils.spawn({
+        grunt.util.spawn({
             cmd: "systemsetup",
             args: ["gettimezone"]
         }, function (err, result, code) {
@@ -52,7 +52,7 @@ module.exports = function (grunt) {
     }
 
     function getAllTimezones(cb) {
-        grunt.utils.spawn({
+        grunt.util.spawn({
             cmd: "systemsetup",
             args: ["listtimezones"]
         }, function (err, result, code) {
@@ -63,7 +63,7 @@ module.exports = function (grunt) {
     }
 
     function setTimezone(zone, cb) {
-        grunt.utils.spawn({
+        grunt.util.spawn({
             cmd: "systemsetup",
             args: ["settimezone", zone]
         }, function (err, result, code) {
@@ -89,7 +89,7 @@ module.exports = function (grunt) {
     }
 
     function testZone(zone, cb) {
-        grunt.utils.spawn({
+        grunt.util.spawn({
             cmd: "grunt",
             args: ["zone"]
         }, function (err, result, code) {