Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Different behaviours of different OS for a same cli command #1226

Closed
plantain-00 opened this issue May 9, 2016 · 1 comment
Closed

Different behaviours of different OS for a same cli command #1226

plantain-00 opened this issue May 9, 2016 · 1 comment

Comments

@plantain-00
Copy link

Bug Report

  • TSLint version: 3.9.0
  • TypeScript version: 1.8.10
  • Running TSLint via: CLI

TypeScript code being linted

(anything that is wrong, I expect tslint discover this error)

Actual behavior

If I run tslint 'a.ts':

  1. for windows, it doesn't show the error
  2. for mac OS X, it shows the error.

If I run tslint "a.ts"

  1. for windows, it show the error
  2. for mac OS X, it shows the error.

Expected behavior

I think they should have a same behaviour.

@jkillian
Copy link
Contributor

jkillian commented May 9, 2016

Hi @plantain-00, this seems like the same issue described here in #1091. Single quotes aren't recognized by cmd.exe, so that's most likely what's causing you issues. You could try switching to PowerShell, which I believe allows the use of single quotes as quotes. Hope this helps!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants