diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-03-06 07:24:55 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-03-06 07:24:55 +0800 |
commit | 08ab81c54c1e845a4239648e8cea65a930fcc99d (patch) | |
tree | 4ac86f7f4b2d4a9dff5ab72ad90983203bf0d11b /packages/sra-report | |
parent | d355382f7040550cb82bab57a4935652fb710e71 (diff) | |
download | dexon-sol-tools-08ab81c54c1e845a4239648e8cea65a930fcc99d.tar.gz dexon-sol-tools-08ab81c54c1e845a4239648e8cea65a930fcc99d.tar.zst dexon-sol-tools-08ab81c54c1e845a4239648e8cea65a930fcc99d.zip |
Rename isHttpUrl to isWebUri in assert package
Diffstat (limited to 'packages/sra-report')
-rw-r--r-- | packages/sra-report/src/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/sra-report/src/index.ts b/packages/sra-report/src/index.ts index bee9db192..327c495ae 100644 --- a/packages/sra-report/src/index.ts +++ b/packages/sra-report/src/index.ts @@ -42,7 +42,7 @@ const args = yargs .argv; // perform extra validation on command line arguments try { - assert.isHttpUrl('args', args.url); + assert.isWebUri('args', args.url); } catch (err) { utils.log(`${chalk.red(`Invalid url format:`)} ${args.url}`); process.exit(1); |