Skip to content

Commit 71b19fd

Browse files
Package Exporting (#181)
* Corrects exporting * README Changes * Forgot the compiled code. * Configuration changes * Moving action package * Update README.md * Update README.md * Improving example * Update README.md * Update src/lib.ts Co-Authored-By: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com> * Correctly building types * Update README.md * Configuration update * Update README.md * Re-assigning * Missing chnage * More changes * Some more information * Setting changes to repositoryPath and tokenType * Compiling * Update package.json * Token hiding * Package Exporting Changes (#185) * Initiial Changes * Changes to action * Compiled * Added better logging for when debug is off... * Removing base branch logging as it's not really required * throw new Error -> throw * Debug flag as an variable * Update README.md * More README Changes * Update README.md * Update README.md * Update README.md * error.message * Fixes the debug flag * Changing the directory routing for shell scripting * Tidying! * Changing to const * Promotion Co-authored-by: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com>
1 parent 1780f87 commit 71b19fd

31 files changed

+1130
-765
lines changed

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v10.19.0

README.md

+87-48
Large diffs are not rendered by default.

__tests__/execute.test.ts

+16
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,22 @@ describe("execute", () => {
1212

1313
expect(exec).toBeCalledWith("echo Montezuma", [], {
1414
cwd: "./",
15+
silent: true,
16+
listeners: {
17+
stdout: expect.any(Function)
18+
}
19+
});
20+
});
21+
22+
it("should not silence the input when INPUT_DEBUG is defined", async () => {
23+
process.env["DEBUG_DEPLOY_ACTION"] = "yes";
24+
25+
await stdout("hello");
26+
await execute("echo Montezuma", "./");
27+
28+
expect(exec).toBeCalledWith("echo Montezuma", [], {
29+
cwd: "./",
30+
silent: false,
1531
listeners: {
1632
stdout: expect.any(Function)
1733
}

0 commit comments

Comments
 (0)