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/
20
20
21
21
.idea
22
22
* .sublime- *
23
- aws.json
Original file line number Diff line number Diff line change 1
1
sudo : false
2
2
language : node_js
3
3
node_js :
4
- - " 0.12 "
4
+ - " 4 "
5
5
script :
6
6
- node_modules/.bin/grunt test
Original file line number Diff line number Diff line change 3
3
module . exports = function ( grunt ) {
4
4
var _ = require ( 'lodash' ) ;
5
5
var path = require ( 'path' ) ;
6
+ var os = require ( 'os' ) ;
6
7
var through = require ( 'through2' ) ;
7
8
var proxyquire = require ( 'proxyquireify' ) ;
8
9
var versionify = require ( 'browserify-versionify' ) ;
@@ -163,9 +164,10 @@ module.exports = function(grunt) {
163
164
} ) ;
164
165
165
166
167
+ var awsConfigPath = path . join ( os . homedir ( ) , '.aws' , 'raven-js.json' ) ;
166
168
var gruntConfig = {
167
169
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 ) : { } ,
169
171
170
172
clean : [ 'build' ] ,
171
173
You can’t perform that action at this time.
0 commit comments