Skip to content

Commit

Permalink
Fixed a bug when building the command line
Browse files Browse the repository at this point in the history
  • Loading branch information
adheus committed Jan 19, 2021
1 parent 7f2d95d commit 3e8e8f6
Show file tree
Hide file tree
Showing 9 changed files with 15,269 additions and 633 deletions.
14,637 changes: 14,637 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "roku-cli",
"version": "0.1.3",
"version": "0.1.4",
"description": "Roku CLI Build tools",
"main": "dist/roku",
"typings": "dist/roku",
Expand Down
3 changes: 1 addition & 2 deletions src/commands/roku.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ const argv = require('yargs/yargs')(process.argv.slice(2))
normalize: true,
type: 'string'
},
},
async (argv: { path: string, device?: string, password?: string, username: string }) => {
}, async (argv: { path: string, device?: string, password?: string, username: string }) => {
try {
const outputPath = await deployProject(argv.path, argv)
logSuccess(`Application was successfully deployed`)
Expand Down
2 changes: 1 addition & 1 deletion tests/create-signing-credentials.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import fs from 'fs';
import path from 'path';

import { testDeviceProperties } from "../tests/test-device";
import { testDeviceProperties } from "./test-device";
import { createSigningCredentials } from '../src/roku/roku-api';


Expand Down
2 changes: 1 addition & 1 deletion tests/deploy.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { testDeviceProperties } from "../tests/test-device";
import { testDeviceProperties } from "./test-device";
import { deployProject } from "../src/roku/roku-api";

describe('deploy project tests', () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/rekey.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { testDeviceProperties } from "../tests/test-device";
import { testDeviceProperties } from "./test-device";
import { executeDeviceRekey } from '../src/roku/roku-api';

describe('rekey device tests', () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/sign-package.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fs from 'fs';

import { testDeviceProperties } from "../tests/test-device";
import { testDeviceProperties } from "./test-device";
import { signPackage } from '../src/roku/roku-api';

// Remove results directory before running tests
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"outDir": "dist",
"sourceMap": true
},
"include": ["src/**/*", "tests/**/*"],
"include": ["src/**/*"],
"exclude": ["node_modules", "**/*.test.ts"]
}
1,250 changes: 625 additions & 625 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 3e8e8f6

Please sign in to comment.