In CLI mode tartifacts should log warn messages about broken symlinks and mismatching patterns.
By API
const tartifacts = require('tartifacts');
tartifacts({ dest: 'dir', includes: ['no-file.ext', 'broken.symlink'] })
.then({ warnings } => {
console.log(warnings);
});
// [
// {
// path: 'path/to/no-file.ext',
// message: 'File not found.'
// },
// {
// path: 'broken.symlink',
// message: 'Symlink is broken.'
// },
//]
In CLI mode
tartifactsshould log warn messages about broken symlinks and mismatching patterns.By API