MCPcopy Create free account
hub / github.com/BedrockStreaming/GithubTeamReviewer / config

Function config

gulp/config.js:7–18  ·  view source on GitHub ↗
(target)

Source from the content-addressed store, hash-verified

5var $ = require('gulp-load-plugins')();
6
7var config = function (target) {
8 var configFile = 'config/config.json';
9
10 if (typeof target === 'string' && target) {
11 configFile = 'config/config_' + target + '.json';
12 }
13
14 return gulp.src(configFile)
15 .pipe($.ngConfig('gtrApp.config'))
16 .pipe($.rename('config.js'))
17 .pipe(gulp.dest('app/scripts'));
18}
19
20gulp.task('config', function () {
21 config();

Callers 1

config.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected