BREAKING CHANGE(core): update
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// this file contains the implementation of the standard gulp api
|
||||
import * as plugins from './smartgulp.plugins';
|
||||
import { GulpStream } from './smartgulp.classes.gulpstream';
|
||||
import * as plugins from './smartgulp.plugins.js';
|
||||
import { GulpStream } from './smartgulp.classes.gulpstream.js';
|
||||
import { Transform } from 'stream';
|
||||
|
||||
import { Smartfile } from '@pushrocks/smartfile';
|
||||
@@ -18,7 +18,7 @@ export let src = (minimatchPathArrayArg: string[]): Transform => {
|
||||
}
|
||||
gulpStream.pipeSmartfileArray(smartfileArray);
|
||||
};
|
||||
handleFiles().catch(err => {
|
||||
handleFiles().catch((err) => {
|
||||
console.log(err);
|
||||
});
|
||||
return gulpStream.stream;
|
||||
@@ -32,7 +32,7 @@ export let replace = () => {
|
||||
await file.write();
|
||||
cb(null, file);
|
||||
},
|
||||
cb => {
|
||||
(cb) => {
|
||||
cb();
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user