@vercel/build-utils 2.12.3-canary.36 → 2.12.3-canary.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -284,14 +284,7 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
284
284
  }
285
285
  exports.convertRuntimeToPlugin = convertRuntimeToPlugin;
286
286
  async function linkOrCopy(existingPath, newPath) {
287
- try {
288
- await fs_extra_1.default.createLink(existingPath, newPath);
289
- }
290
- catch (err) {
291
- if (err.code !== 'EEXIST') {
292
- await fs_extra_1.default.copyFile(existingPath, newPath);
293
- }
294
- }
287
+ await fs_extra_1.default.copyFile(existingPath, newPath);
295
288
  }
296
289
  async function readJson(filePath) {
297
290
  try {
package/dist/index.js CHANGED
@@ -33031,14 +33031,7 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
33031
33031
  }
33032
33032
  exports.convertRuntimeToPlugin = convertRuntimeToPlugin;
33033
33033
  async function linkOrCopy(existingPath, newPath) {
33034
- try {
33035
- await fs_extra_1.default.createLink(existingPath, newPath);
33036
- }
33037
- catch (err) {
33038
- if (err.code !== 'EEXIST') {
33039
- await fs_extra_1.default.copyFile(existingPath, newPath);
33040
- }
33041
- }
33034
+ await fs_extra_1.default.copyFile(existingPath, newPath);
33042
33035
  }
33043
33036
  async function readJson(filePath) {
33044
33037
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/build-utils",
3
- "version": "2.12.3-canary.36",
3
+ "version": "2.12.3-canary.37",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.js",
@@ -49,5 +49,5 @@
49
49
  "typescript": "4.3.4",
50
50
  "yazl": "2.4.3"
51
51
  },
52
- "gitHead": "1c3701628d88e82f6e0535ecdba2c5e91ce61976"
52
+ "gitHead": "fe43c9c4b2e8fdefbc4b35778e4593a55feddac0"
53
53
  }