BREAKING CHANGE(core): update
This commit is contained in:
		@@ -1,16 +1,16 @@
 | 
			
		||||
import { expect, tap } from '@pushrocks/tapbundle';
 | 
			
		||||
 | 
			
		||||
import * as smartgulp from '../ts/index';
 | 
			
		||||
import * as smartgulp from '../ts/index.js';
 | 
			
		||||
import * as smartstream from '@pushrocks/smartstream';
 | 
			
		||||
import * as gulpFunction from 'gulp-function';
 | 
			
		||||
import * as smartq from 'smartq';
 | 
			
		||||
 | 
			
		||||
tap.test('smartgulp.src -> should read a directoy', async tools => {
 | 
			
		||||
tap.test('smartgulp.src -> should read a directoy', async (tools) => {
 | 
			
		||||
  let done = smartq.defer();
 | 
			
		||||
  smartgulp
 | 
			
		||||
    .src(['./test/testfiles/**/*.md'])
 | 
			
		||||
    .pipe(
 | 
			
		||||
      gulpFunction.forEach(async fileArg => {
 | 
			
		||||
      gulpFunction.forEach(async (fileArg) => {
 | 
			
		||||
        console.log(fileArg.path);
 | 
			
		||||
      })
 | 
			
		||||
    )
 | 
			
		||||
@@ -27,7 +27,7 @@ tap.test('smartgulp shoould replace files', async () => {
 | 
			
		||||
  smartgulp
 | 
			
		||||
    .src(['./test/testfiles/**/*.md'])
 | 
			
		||||
    .pipe(
 | 
			
		||||
      gulpFunction.forEach(async fileArg => {
 | 
			
		||||
      gulpFunction.forEach(async (fileArg) => {
 | 
			
		||||
        console.log(fileArg.path);
 | 
			
		||||
      })
 | 
			
		||||
    )
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user