Skip to content

Commit

Permalink
Fixing build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
acadet committed Oct 17, 2014
1 parent a7d64be commit 9c9303d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
module.exports = function (grunt) {
var pkg = require('./release/src/package.json');
var version = pkg.version;
var pkg;
var version;

try {
pkg = require('./release/src/package.json');
version = pkg.version;
} catch (e) {
console.log('Failed to load pkg');
}

// load the task
grunt.loadNpmTasks("grunt-contrib-clean");
Expand Down

0 comments on commit 9c9303d

Please sign in to comment.