Completed
Push — master ( 058858...304cc0 )
by Ajeh
04:20
created

src/docs/js/copy-to-docs.js (2 issues)

1
const fs = require('fs-extra');
2
3
const source = './dist/vuejs-dialog.min.js';
4
const dest = './docs/js/vuejs-dialog.min.js';
5
6
fs.copy(source, dest, function (err) {
7
8
    if (err)
9
    {
10
        return console.error(err);
11
    }
12
13
    console.log('Copied to ' + dest);
0 ignored issues
show
There is no return statement in this branch, but you do return something in other branches. Did you maybe miss it? If you do not want to return anything, consider adding return undefined; explicitly.
Loading history...
console.log looks like debug code. Are you sure you do not want to remove it?
Loading history...
14
15
});