From b2a8e6d7a64f6a57f2947089ed58dc7f1d8f8325 Mon Sep 17 00:00:00 2001 From: Taylor Beseda Date: Tue, 30 Jul 2024 18:53:17 -0600 Subject: [PATCH] remove comments --- src/shared/copy.js | 2 -- test/integration/_shared.js | 1 - test/integration/default/shared-tests.js | 1 - test/integration/symlink/shared-tests.js | 1 - 4 files changed, 5 deletions(-) diff --git a/src/shared/copy.js b/src/shared/copy.js index b6d7828..a6d96b8 100644 --- a/src/shared/copy.js +++ b/src/shared/copy.js @@ -1,4 +1,3 @@ -// let cpr = require('cpr') let { cp, mkdirSync } = require('fs') let { dirname } = require('path') let { sync: symlinkOrCopy } = require('symlink-or-copy') @@ -17,7 +16,6 @@ module.exports = function copy (source, destination, params, callback) { callback() } else { - // cpr(source, destination, { overwrite: true }, callback) cp(source, destination, { recursive: true, force: true }, callback) } } diff --git a/test/integration/_shared.js b/test/integration/_shared.js index dd95b95..562287e 100644 --- a/test/integration/_shared.js +++ b/test/integration/_shared.js @@ -1,6 +1,5 @@ let { dirname, join } = require('path') let { cp, existsSync } = require('fs') -// let cp = require('cpr') let { globSync } = require('glob') let { pathToUnix } = require('@architect/utils') let { destroyPath } = require('../../src/lib') diff --git a/test/integration/default/shared-tests.js b/test/integration/default/shared-tests.js index 9e33fd9..6fc59a0 100644 --- a/test/integration/default/shared-tests.js +++ b/test/integration/default/shared-tests.js @@ -8,7 +8,6 @@ let { renameSync, writeFileSync, } = require('fs') -// let cp = require('cpr') let test = require('tape') let { resetAndCopyShared, diff --git a/test/integration/symlink/shared-tests.js b/test/integration/symlink/shared-tests.js index 5f602d0..da0abee 100644 --- a/test/integration/symlink/shared-tests.js +++ b/test/integration/symlink/shared-tests.js @@ -8,7 +8,6 @@ let { renameSync, writeFileSync, } = require('fs') -// let cp = require('cpr') let test = require('tape') let { resetAndCopyShared,