Skip to content

Commit

Permalink
chore: adding types
Browse files Browse the repository at this point in the history
  • Loading branch information
Shesekino committed Jun 28, 2020
1 parent 2e06842 commit c6007a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/commands/monitor/index.ts
Expand Up @@ -302,7 +302,7 @@ function generateMonitorMeta(options, packageManager?): MonitorMeta {
};
}

function validateMonitorPath(path, isDocker) {
function validateMonitorPath(path: string, isDocker?: boolean): void {
const exists = fs.existsSync(path);
if (!exists && !isDocker) {
throw new Error('"' + path + '" is not a valid path for "snyk monitor"');
Expand Down

0 comments on commit c6007a2

Please sign in to comment.