🔀 Merge branch 'master' of github.com:n8n-io/n8n

This commit is contained in:
Jan Oberhauser 2020-06-12 15:31:49 +02:00
commit 5dfc0010cd

View file

@ -105,10 +105,10 @@ export async function buildFiles (options?: IBuildOptions): Promise<string> {
} }
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
copyfiles([join(process.cwd(), './*.png'), outputDirectory], { up: true }, () => resolve(outputDirectory));
buildProcess.on('exit', code => { buildProcess.on('exit', code => {
// Remove the tmp tsconfig file // Remove the tmp tsconfig file
tsconfigData.cleanup(); tsconfigData.cleanup();
copyfiles([join(process.cwd(), './*.png'), outputDirectory], { up: true }, () => resolve(outputDirectory));
}); });
}); });
} }