diff --git a/src/cmd/esim.js b/src/cmd/esim.js index d9f1e240f..288b28062 100644 --- a/src/cmd/esim.js +++ b/src/cmd/esim.js @@ -45,7 +45,7 @@ module.exports = class eSimCommands extends CLICommandBase { await this._checkForExistingProfiles(port); // Parse the JSON to get EID and profiles - const input = fs.readFileSync(inputJson); + const input = fs.readFileSync(this.inputJson); const profilesJson = JSON.parse(input); // Work only with one device