Skip to content

Problems with windows shims #1

Description

@bjesuiter

Currently, the detection of windows shims is not correct.

The cli output:

λ modup codeup
INFO Running undefined
     Version: 1.1.0

INFO Trying to update cli "codeup" to version "latest"...
INFO Found: Script file for command "codeup" (a.k.a Command File): C:\Users\XCG5545\.cmder\opt\.deno\bin\codeup.CMD
InvalidData: Command Shim "C:\Users\XCG5545\.cmder\opt\.deno\bin\codeup.CMD" may not have been generated by "deno install"! 
      Force proceed by running again with --validateDenoShim=false.

      File Content:

      % generated by deno install %
@deno "run" "--allow-read" "--allow-write" "--allow-net" "--allow-env" "--allow-run" "--check" "https://deno.land/x/codeup@2.0.0-beta.4/main.ts" %*

    at parseCommandShim (https://deno.land/x/modup@1.1.0/src/features/deno-command-shim/parse-command-shim.ts:39:11)
    at Object.commandHandler [as handler] (https://deno.land/x/modup@1.1.0/src/commands/mainCommand.ts:29:23)

Specify --help for available options

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions