Skip to content

Commit

Permalink
fix: allow sf-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
RodEsp committed Oct 7, 2021
1 parent e699cb4 commit 5a72fe6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/commands/cli/tarballs/verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ export default class Verify extends SfdxCommand {
`${this.baseDir}/dist/builtins/package.json`,
`${this.baseDir}/scripts/clean-for-tarballs`,
`${this.baseDir}/scripts/include-sf.js`,
`${this.baseDir}/sf-cli/**/*`,
];
const expectedFiles = await fg(expectedFileGlobs);
const allFiles = await fg([`${this.baseDir}/**/*`, `!${this.baseDir}/node_modules/**/*`]);
Expand Down Expand Up @@ -290,7 +291,7 @@ export default class Verify extends SfdxCommand {
const help = exec(`${sfBin} --help`, { silent: false });
return sfBinExists && sfCmdExists && version.code === 0 && help.code === 0;
};
const passed = await this.execute('Ensure sf is included', validate);
const passed = await this.execute('Ensure sf is included\n', validate);
if (!passed) {
throw new SfdxError('sf was not included! Did include-sf.js succeed?');
}
Expand Down

0 comments on commit 5a72fe6

Please sign in to comment.