Skip to content

Commit

Permalink
bootstrap: refactor to use more primordials
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Feb 25, 2021
1 parent d3b4e34 commit 9e32b1e
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -11,9 +11,9 @@ diff --git a/lib/internal/bootstrap/pre_execution.js b/lib/internal/bootstrap/pr
index 1b781fb8193002e111d8904e44ca66dbec9daaac..3f80a6e4c03a51d40c25717baab5c690c53abccd 100644
--- a/lib/internal/bootstrap/pre_execution.js
+++ b/lib/internal/bootstrap/pre_execution.js
@@ -93,10 +93,12 @@ function patchProcessObject(expandArgv1) {

if (expandArgv1 && process.argv[1] && !process.argv[1].startsWith('-')) {
@@ -95,10 +95,12 @@ function patchProcessObject(expandArgv1) {
if (expandArgv1 && process.argv[1] &&
!StringPrototypeStartsWith(process.argv[1], '-')) {
// Expand process.argv[1] into a full path.
- const path = require('path');
- try {
Expand Down

0 comments on commit 9e32b1e

Please sign in to comment.