Update git.js

This commit is contained in:
JamesIves 2020-01-19 16:19:53 -05:00
parent 3d36067f3a
commit eb26d0d826

View File

@ -27,7 +27,7 @@ function init() {
}
if (constants_1.action.build.startsWith("/") || constants_1.action.build.startsWith("./")) {
core_1.setFailed(`The deployment folder cannot be prefixed with '/' or './'. Instead reference the folder name directly.`);
throw Error("Incorrectly formatted build folder.");
throw Error("Incorrectly formatted build folder. The deployment folder cannot be prefixed with '/' or './'. Instead reference the folder name directly.");
}
console.log(`Deploying using ${constants_1.tokenType}... 🔑`);
yield execute_1.execute(`git init`, constants_1.workspace);