Fix install-apt test return after rebase
This commit is contained in:
parent
d959d2a6f4
commit
7deab688a2
1 changed files with 2 additions and 1 deletions
|
|
@ -79,7 +79,8 @@ function runScenario({ candInitial, candAfterUpdate, candAfterNodesource, preexi
|
|||
|
||||
const read = (p) => (fs.existsSync(p) ? fs.readFileSync(p, 'utf8') : null);
|
||||
const mode = (p) => (fs.existsSync(p) ? fs.statSync(p).mode & 0o777 : null);
|
||||
return {
|
||||
const result = {
|
||||
res,
|
||||
aptEtc,
|
||||
nodesourceList: read(path.join(aptEtc, 'sources.list.d', 'nodesource.list')),
|
||||
nodesourceListMode: mode(path.join(aptEtc, 'sources.list.d', 'nodesource.list')),
|
||||
|
|
|
|||
Loading…
Reference in a new issue