Skip to content

Commit

Permalink
fixed working path printing (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonsubin authored Nov 1, 2020
1 parent 9ec25b4 commit d4a887d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "glitch-deploy-tool",
"version": "0.1.3-alpha",
"version": "0.1.4-alpha",
"description": "CLI tool for deploying files to Glitch.com",
"keywords": [
"glitch.com",
Expand Down
2 changes: 1 addition & 1 deletion src/cli/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const importFromFolder = async (repoUrl: string, targetPath?: string, deb
throw e;
}

console.log('successfully imported projects from ' + targetPath || process.cwd());
console.log('successfully imported projects from ' + (targetPath || process.cwd()));
};

export const importFromGithub = async (token: string, projId: string, repo: string, path?: string) => {
Expand Down
2 changes: 1 addition & 1 deletion src/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ const checkToolMode = () => {
// print the tool version
if (opts.version) {
//todo: dynamically parse the app version without importing package.json (due to tsc folder structure)
console.log(`glitch-deploy-tool version 0.1.3-alpha`);
console.log(`glitch-deploy-tool version 0.1.4-alpha`);
process.exit(0);
}

Expand Down

0 comments on commit d4a887d

Please sign in to comment.