Skip to content

Commit 049d630

Browse files
Re-fixed glide commit bug (#18)
1 parent 7bb9284 commit 049d630

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "polyapi",
3-
"version": "0.23.27",
3+
"version": "0.23.28",
44
"description": "Poly is a CLI tool to help create and manage your Poly definitions.",
55
"license": "MIT",
66
"repository": {

src/commands/prepare.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ export const prepareDeployables = async (
166166
.toString('utf8').replace('\n', '');
167167
for (const deployable of dirtyDeployables) {
168168
try{
169-
const deployableName = deployable.file.replace(rootPath, '');
169+
const deployableName = deployable.file.replace(`${rootPath}/`, '');
170170
if (staged.includes(deployableName)) {
171171
shell.echo(`Staging ${deployableName}`);
172172
shell.exec(`git add ${deployableName}`);

0 commit comments

Comments
 (0)