We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b686e8b commit 3b870e8Copy full SHA for 3b870e8
app/index.js
@@ -76,7 +76,8 @@ function checkFiles() {
76
// copy document assets
77
function copyAssets() {
78
fsx.copy(apiAssets, buildOptions.buildDir + 'assets', function(err) {
79
- if (err) { return console.error('Error copying assets:', err); }
+ // Quiet this error since it will show if assets already exist
80
+ if (err && !buildOptions.buildQuiet) { return console.log('Error copying assets:', err); }
81
if (!buildOptions.buildQuiet) { console.log('NODe: asset copy success'); }
82
});
83
checkFiles();
0 commit comments