File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -20,4 +20,3 @@ scratch/
2020
2121.idea
2222* .sublime- *
23- aws.json
Original file line number Diff line number Diff line change 11sudo : false
22language : node_js
33node_js :
4- - " 0.12 "
4+ - " 4 "
55script :
66 - node_modules/.bin/grunt test
Original file line number Diff line number Diff line change 33module . exports = function ( grunt ) {
44 var _ = require ( 'lodash' ) ;
55 var path = require ( 'path' ) ;
6+ var os = require ( 'os' ) ;
67 var through = require ( 'through2' ) ;
78 var proxyquire = require ( 'proxyquireify' ) ;
89 var versionify = require ( 'browserify-versionify' ) ;
@@ -163,9 +164,10 @@ module.exports = function(grunt) {
163164 } ) ;
164165
165166
167+ var awsConfigPath = path . join ( os . homedir ( ) , '.aws' , 'raven-js.json' ) ;
166168 var gruntConfig = {
167169 pkg : grunt . file . readJSON ( 'package.json' ) ,
168- aws : grunt . file . exists ( 'aws.json' ) ? grunt . file . readJSON ( 'aws.json' ) : { } ,
170+ aws : grunt . file . exists ( awsConfigPath ) ? grunt . file . readJSON ( awsConfigPath ) : { } ,
169171
170172 clean : [ 'build' ] ,
171173
You can’t perform that action at this time.
0 commit comments