<NME> gulpfile.js
<BEF> 'use strict';

var gulp = require( 'gulp' );
var download = require( 'gulp-download' );
var decompress = require( 'gulp-decompress' );
var convertEncoding = require( 'gulp-convert-encoding' );
var chmod = require( 'gulp-chmod' );
var postal2json = require( './lib/postal2json.js' );
var jigyosyo2json = require( './lib/jigyosyo2json.js' );
var v1 = require( './lib/v1.js' );

gulp.task( 'download', function () {
  var urls = [
  .pipe( decompress() )
  .pipe( convertEncoding( { from: "shift_jis", to: "utf-8" } ) )
  .pipe( chmod( 644 ) )
  .pipe( gulp.dest( function( args ) {
    return 'csv';
  } ) );
} );

gulp.task( 'v1', function () {
    .pipe( gulp.dest( 'api' ) );
} );

/**
  .pipe( convertEncoding( { from: "shift_jis", to: "utf-8" } ) )
  .pipe( v1() )
  .pipe( chmod( 644 ) )
  .pipe( gulp.dest( function( args ) {
    return 'api/v1';
  } ) );
} );

gulp.task( 'default', [ 'v1' ] );
    .pipe( gulp.dest( 'api/v1' ) );
} );

/**
 * Create an API of the Jigyosyo postal code.
 */
gulp.task( 'v1-jigyosyo', ['download'], function () {
  gulp.src( 'api/JIGYOSYO.CSV' )
    .pipe( jigyosyo2json() )
    .pipe( v1() )
    .pipe( chmod( 644 ) )
    .pipe( gulp.dest( 'api/v1' ) );
} );

gulp.task( 'default', [ 'v1', 'v1-jigyosyo' ] );

<MSG> some fix

<DFF> @@ -14,9 +14,7 @@ gulp.task( 'download', function () {
   .pipe( decompress() )
   .pipe( convertEncoding( { from: "shift_jis", to: "utf-8" } ) )
   .pipe( chmod( 644 ) )
-  .pipe( gulp.dest( function( args ) {
-    return 'csv';
-  } ) );
+  .pipe( gulp.dest( 'api' ) );
 } );
 
 gulp.task( 'v1', function () {
@@ -27,9 +25,7 @@ gulp.task( 'v1', function () {
   .pipe( convertEncoding( { from: "shift_jis", to: "utf-8" } ) )
   .pipe( v1() )
   .pipe( chmod( 644 ) )
-  .pipe( gulp.dest( function( args ) {
-    return 'api/v1';
-  } ) );
+  .pipe( gulp.dest( 'api/v1' ) );
 } );
 
 gulp.task( 'default', [ 'v1' ] );

some fix