removing trycatches
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/commit/947fa69d Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/tree/947fa69d Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/diff/947fa69d Branch: refs/heads/cordova-client Commit: 947fa69db9171994a05db9fe80f6c31215d43f95 Parents: 458f09c Author: Fil Maj <maj....@gmail.com> Authored: Tue Sep 25 22:40:54 2012 -0700 Committer: Fil Maj <maj....@gmail.com> Committed: Tue Sep 25 22:40:54 2012 -0700 ---------------------------------------------------------------------- spec/build.spec.js | 2 +- spec/config_parser.spec.js | 2 +- spec/create.spec.js | 2 +- spec/platform.spec.js | 2 +- spec/plugin.spec.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/blob/947fa69d/spec/build.spec.js ---------------------------------------------------------------------- diff --git a/spec/build.spec.js b/spec/build.spec.js index e7e9ab0..98e25bb 100644 --- a/spec/build.spec.js +++ b/spec/build.spec.js @@ -11,7 +11,7 @@ var cwd = process.cwd(); describe('build command', function() { beforeEach(function() { // Make a temp directory - try { shell.rm('-rf', tempDir); } catch(e) {} + shell.rm('-rf', tempDir); shell.mkdir('-p', tempDir); }); http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/blob/947fa69d/spec/config_parser.spec.js ---------------------------------------------------------------------- diff --git a/spec/config_parser.spec.js b/spec/config_parser.spec.js index 581cb9d..f5e9fa4 100644 --- a/spec/config_parser.spec.js +++ b/spec/config_parser.spec.js @@ -10,7 +10,7 @@ var cordova = require('../cordova'), describe('config.xml parser', function () { beforeEach(function() { // Make a temp directory - try { shell.rm('-rf', tempDir); } catch(e) {} + shell.rm('-rf', tempDir); shell.mkdir('-p', tempDir); cordova.create(tempDir); }); http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/blob/947fa69d/spec/create.spec.js ---------------------------------------------------------------------- diff --git a/spec/create.spec.js b/spec/create.spec.js index d384847..cb3bd03 100644 --- a/spec/create.spec.js +++ b/spec/create.spec.js @@ -7,7 +7,7 @@ var cordova = require('../cordova'), describe('create command', function () { beforeEach(function() { // Make a temp directory - try { shell.rm('-rf', tempDir); } catch(e) {} + shell.rm('-rf', tempDir); shell.mkdir('-p', tempDir); }); http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/blob/947fa69d/spec/platform.spec.js ---------------------------------------------------------------------- diff --git a/spec/platform.spec.js b/spec/platform.spec.js index 57e27af..2e05a5a 100644 --- a/spec/platform.spec.js +++ b/spec/platform.spec.js @@ -12,7 +12,7 @@ var cwd = process.cwd(); describe('platform command', function() { beforeEach(function() { // Make a temp directory - try { shell.rm('-rf', tempDir); } catch(e) {} + shell.rm('-rf', tempDir); shell.mkdir('-p', tempDir); }); it('should run inside a Cordova-based project', function() { http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/blob/947fa69d/spec/plugin.spec.js ---------------------------------------------------------------------- diff --git a/spec/plugin.spec.js b/spec/plugin.spec.js index f9fe18e..0289f71 100644 --- a/spec/plugin.spec.js +++ b/spec/plugin.spec.js @@ -12,7 +12,7 @@ var cwd = process.cwd(); describe('plugin command', function() { beforeEach(function() { // Make a temp directory - try { shell.rm('-rf', tempDir); } catch(e) {} + shell.rm('-rf', tempDir); shell.mkdir('-p', tempDir); });