Skip to content

Commit

Permalink
Clean up gulp dist logging (#30373)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsimha committed Sep 23, 2020
1 parent f31bb10 commit 8fb1a06
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions build-system/tasks/extension-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -575,11 +575,6 @@ async function copyWorkerDomResources(version) {
const startTime = Date.now();
const workerDomDir = 'node_modules/@ampproject/worker-dom';
const targetDir = 'dist/v0';
log(
green('Copying @ampproject/worker-dom resources:'),
cyan('worker.js, worker.nodom.js')
);

const dir = `${workerDomDir}/dist`;
const workerFilesToDeploy = new Map([
['amp-production/worker/worker.js', `amp-script-worker-${version}.js`],
Expand Down Expand Up @@ -638,11 +633,7 @@ async function copyWorkerDomResources(version) {
for (const [src, dest] of workerFilesToDeploy) {
await fs.copy(`${dir}/${src}`, `${targetDir}/${dest}`);
}
endBuildStep(
'Copied @ampproject/worker-dom resources',
'worker.js, worker.nodom.js',
startTime
);
endBuildStep('Copied', '@ampproject/worker-dom resources', startTime);
}

module.exports = {
Expand Down

0 comments on commit 8fb1a06

Please sign in to comment.